SQL Anywhere 11, JZ0C0: Connection is already closed
Posted
by Alex
on Stack Overflow
See other posts from Stack Overflow
or by Alex
Published on 2010-04-07T09:54:22Z
Indexed on
2010/04/29
14:07 UTC
Read the original article
Hit count: 531
sql-anywhere
|connection
SLOVED see commend
I develop am webservice 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 layer is based on spring + hibernate dao, the connection is configured via a JNDI datasoure (META-INF directory).
It seems that, during longer times of inactivity, the connection from the webservice to the database is closed.
Exception: java.sql.SQLException: JZ0C0: Connection is already closed.
Best regards, Alex
© Stack Overflow or respective owner