Beginner |
|
Joined: Fri Feb 11, 2005 12:03 pm Posts: 48 Location: Kiel, Germany
|
Sounds to me like a MySQL issue ;-)
You should check all your tomcat logs for an exception like
java.sql.SQLException: Communication link failure
In this case the MySQL server closed the connection on the server side invalidating your connection in your pool because the connection's idle time exceeded the wait_timeout of your MySQL server.
You can fix this by increasing the wait_timeout variable in your MySQL server or (better?) by using a connection pool which is able to validate and recreate connections before use (e.g. c3p0).
|
|