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 ?
Why is that so ?
Do I need some keep-alive messages ?
If yes how can they be implemented ?