Hi,
I'm using Hibernate 3 with c3p0 pooling connections. My servlet uses a Thread local sessions for each request meaning Only one session object is used throughout a request. It was observed that database server was down for few milliseconds during which we got : [2011-12-16 05:30:10,573]ERROR511458[http-80-1](JDBCExceptionReporter.java:78) - Communications link failure
The last packet successfully received from the server was 688,564 milliseconds ago. The last packet sent successfully to the server was 59 milliseconds ago. This exception was seen only on 1 thread i.e http-80-1. Later on all the requests that were serviced by that thread gave You can't operate on a closed Connection!!! we had to re-start Tomcat to rejuvenate that thread. Can someone explain this behavior..??
|