• 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
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Quartz falling down on database restart

 
Greenhorn
Posts: 8
Java
  • 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!