• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why I get CommunicationsException using Quartz JobStore web application ?

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
My cellmate was this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic