I have written a web application that connects to a MySQL database. Everything works fine for the first 8 hours,When my web application remains in ideal state for 8 hours, then MySQL connection expires.
After that restarting the tomcat everthing works fine again.
How should i resolve this problem.
Please help me.
Thanks in Advance