• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Why I get CommunicationsException using Quartz JobStore web application ?

 
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 .
 
Your buns are mine! But you can have this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!