Win a copy of The Java Performance Companion this week in the Performance 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