1. Hibernate, c3p0, and Mysql: the java.io.EOFException stackoverflow.comI'm using Hibernate with MySQL and c3p0, and when the MySQL connection expires after 8 hours (
|
2. Hibernate, MySQL and the EOFException coderanch.comHi folks, I am encountering the old problem with MySQL and Hibernate. Whenever I deploy an application, it works fine in the beginning. After a while of inactivity, however, I get the infamous EOFException. Here is the part of the stack trace: root cause com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at ... |