wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Quartz falling down on database restart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Quartz falling down on database restart" Watch "Quartz falling down on database restart" New topic
Author

Quartz falling down on database restart

Eric Stein
Greenhorn

Joined: Feb 22, 2012
Posts: 8

Cross-posted to: Quartz Forum

I'm running a Quartz application in Tomcat 6. When my database bounces, Quartz starts throwing exceptions every time it tries a database operation. The common cause is:



In my [CATALINA_HOME]/conf/context.xml file, I've configured the datasource that Quartz is using:


I was told on the Quartz forum that the validationQuery was what quartz used "to trigger recovery of the connections", but that isn't happening. Is there some other tomcat-side configuration that I need for the validation queries?
 
Consider Paul's rocket mass heater.
 
subject: Quartz falling down on database restart