jQuery in Action, 2nd edition*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Quartz falling down on database restart" Watch "Quartz falling down on database restart" New topic

Quartz falling down on database restart

Eric Stein

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?
wood burning stoves
subject: Quartz falling down on database restart
Similar Threads
deployment of war file failed in JBOSS
Poll and attachment error in MS SQL 2000
Problem connecting JDBC to SQL server 2008 express
How to install JBoss with MyEclipse IDE? I am having problems