Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Quartz falling down on database restart

Eric Stein
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic