java.sql.SQLException: Invalid state, the Connection object is closed. at net.sourceforge.jtds.jdbc.TdsCore.checkOpen(TdsCore.java:424) at net.sourceforge.jtds.jdbc.TdsCore.clearResponseQueue(TdsCore.java:685) at net.sourceforge.jtds.jdbc.TdsCore.close(TdsCore.java:808) at net.sourceforge.jtds.jdbc.ConnectionJDBC2.close(ConnectionJDBC2.java:1467)

jtds | gward | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Connection.close() can take a long time when Sybase down

    jtds | 1 decade ago | gward
    java.sql.SQLException: Invalid state, the Connection object is closed. at net.sourceforge.jtds.jdbc.TdsCore.checkOpen(TdsCore.java:424) at net.sourceforge.jtds.jdbc.TdsCore.clearResponseQueue(TdsCore.java:685) at net.sourceforge.jtds.jdbc.TdsCore.close(TdsCore.java:808) at net.sourceforge.jtds.jdbc.ConnectionJDBC2.close(ConnectionJDBC2.java:1467)

    Root Cause Analysis

    1. java.sql.SQLException

      Invalid state, the Connection object is closed. at net.sourceforge.jtds.jdbc.TdsCore.checkOpen(TdsCore.java:424) at net.sourceforge.jtds.jdbc.TdsCore.clearResponseQueue(TdsCore.java:685) at net.sourceforge.jtds.jdbc.TdsCore.close(TdsCore.java:808) at net.sourceforge.jtds.jdbc.ConnectionJDBC2.close(ConnectionJDBC2.java:1467)

      at testclose.main()
    2. Unknown
      testclose.main
      1. testclose.main(testclose.java:59)
      1 frame