java.sql.SQLException: JZ0C0: Connection is already closed.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by soma sundaresh, 1 year ago
via Oracle Community by 3004, 1 year ago
JZ0C0: Connection is already closed.
via Google Groups by C. K. Lim, 2 years ago
JZ0C0: Connection is already closed.
via Google Groups by Olivier Popppon, 2 years ago
JZ0C0: Connection is already closed.
via Google Groups by johngregg, 2 years ago
JZ0R1: Result set is IDLE as you are not currently accessing a row.
java.sql.SQLException: JZ0C0: Connection is already closed.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:546)
at com.sybase.jdbc2.jdbc.SybConnection.checkConnection(SybConnection.java:2101)
at com.sybase.jdbc2.jdbc.SybStatement.checkDead(SybStatement.java:1951)
at com.sybase.jdbc2.jdbc.SybStatement.close(SybStatement.java:451)
at com.sybase.jdbc2.jdbc.SybStatement.close(SybStatement.java:439)
at org.logicalcobwebs.proxool.AbstractProxyStatement.close(AbstractProxyStatement.java:115)
at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:93)
at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)
at $java.lang.AutoCloseable$$EnhancerByProxool$$9f41d258.close()
at quickfix.JdbcUtil.close(JdbcUtil.java:143)
at quickfix.JdbcStore.reset(JdbcStore.java:199)
at quickfix.SessionState.reset(SessionState.java:377)
at quickfix.Session.resetState(Session.java:2325)
at quickfix.Session.reset(Session.java:798)
at quickfix.Session.(Session.java:467)
at quickfix.DefaultSessionFactory.create(DefaultSessionFactory.java:179)
at quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions(AbstractSocketAcceptor.java:242)
at quickfix.mina.acceptor.AbstractSocketAcceptor.startAcceptingConnections(AbstractSocketAcceptor.java:99)
at quickfix.SocketAcceptor.initialize(SocketAcceptor.java:66)
at quickfix.SocketAcceptor.start(SocketAcceptor.java:59)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.