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

Stack Overflow | user1717259 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.sql.SQLException

    JZ0C0: Connection is already closed.

    at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError()
  2. com.sybase.jdbc2
    SybStatement.close
    1. com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:546)
    2. com.sybase.jdbc2.jdbc.SybConnection.checkConnection(SybConnection.java:2101)
    3. com.sybase.jdbc2.jdbc.SybStatement.checkDead(SybStatement.java:1951)
    4. com.sybase.jdbc2.jdbc.SybStatement.close(SybStatement.java:451)
    5. com.sybase.jdbc2.jdbc.SybStatement.close(SybStatement.java:439)
    5 frames
  3. org.logicalcobwebs.proxool
    ProxyStatement.intercept
    1. org.logicalcobwebs.proxool.AbstractProxyStatement.close(AbstractProxyStatement.java:115)
    2. org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:93)
    3. org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)
    3 frames
  4. $java.lang
    AutoCloseable$$EnhancerByProxool$$9f41d258.close
    1. $java.lang.AutoCloseable$$EnhancerByProxool$$9f41d258.close(<generated>)
    1 frame
  5. Apache ServiceMix :: Bundles :: ${pkgArtifactId}
    SocketAcceptor.start
    1. quickfix.JdbcUtil.close(JdbcUtil.java:143)
    2. quickfix.JdbcStore.reset(JdbcStore.java:199)
    3. quickfix.SessionState.reset(SessionState.java:377)
    4. quickfix.Session.resetState(Session.java:2325)
    5. quickfix.Session.reset(Session.java:798)
    6. quickfix.Session.<init>(Session.java:467)
    7. quickfix.DefaultSessionFactory.create(DefaultSessionFactory.java:179)
    8. quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions(AbstractSocketAcceptor.java:242)
    9. quickfix.mina.acceptor.AbstractSocketAcceptor.startAcceptingConnections(AbstractSocketAcceptor.java:99)
    10. quickfix.SocketAcceptor.initialize(SocketAcceptor.java:66)
    11. quickfix.SocketAcceptor.start(SocketAcceptor.java:59)
    11 frames