I am creating a web service based on apache tomcat 6.0.26, apache cxf 2.2.7, spring 3.0, hibernate 3.3 and sybase sqlanywhere 11. im using the latest JDBC driver from SYBASE jconn.jar Version 6.
The persistence level is based on spring + hibernate dao, the connection is configured through a JNDI data file (META-INF directory).
It seems that for a longer period of inactivity, the connection from the web service to the database is closed.
Exception: java.sql.SQLException: JZ0C0: connection is already closed.
source
share