This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why I get CommunicationsException using Quartz JobStore web application ?

 
Jayaraj Jaganathan
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get a CommunicationsException . I am trying to resolve it. But i fail , i was struck where to put try catch

introduction
-------------

i am using quartz jdbc job store and a web application to view the jobs,trigger online.
assume a trigger is schedule for next hour.
when i change the time. the below exception is thrown.

i don't know why ? and i changed the code any introduce a try catch in PoolingConnectionProvider.java while getting a connection




 
Jayaraj Jaganathan
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
modified the url
from
org.quartz.dataSource.myDS.URL = jdbc:mysql://127.0.0.1:3306/base
to
org.quartz.dataSource.myDS.URL = jdbc:mysql://127.0.0.1:3306/base?autoReconnect=true


issue fixed .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic