java.sql.SQLException

Attempted to use PooledConnection after closed() was called.

Solutions on the web6201

  • via Apache's JIRA Issue Tracker by Dave Oxley, 1 year ago
    Attempted to use PooledConnection after closed() was called.
  • via Apache's JIRA Issue Tracker by Dave Oxley, 1 year ago
    Attempted to use PooledConnection after closed() was called.
  • via Apache's JIRA Issue Tracker by Jeff Greif (work), 1 year ago
    PooledConnection was reused, withoutits previous Connection being closed.
  • Stack trace

    • java.sql.SQLException: Attempted to use PooledConnection after closed() was called. at org.apache.commons.dbcp.cpdsadapter.PooledConnectionImpl.assertOpen(PooledConnectionImpl.java:163) at org.apache.commons.dbcp.cpdsadapter.PooledConnectionImpl.getConnection(PooledConnectionImpl.java:174) at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:768) at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:676) at com.daveoxley.dbcpbug.App$TestThread.run(App.java:94) at java.lang.Thread.run(Thread.java:662)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.