Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Api over Tomcat loses database connection

Status
Not open for further replies.

mydavor

Programmer
Mar 21, 2004
41
AU
Sometimes I stop using my application for 10 minutes or more, and when I am back and start using it, it stalls and a debug message "NO CONNECTION TO DATABASE" appears in the Tomcat window.

Why is that so ?
Do I need some keep-alive messages ?
If yes how can they be implemented ?
 
What are you using to connect to your database ?

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top