Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-416

TestConnectionPool.testThreaded() sometimes fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      TestConnectionPool.testThreaded() sometimes fails for me:

      java.sql.SQLException: org.apache.commons.dbcp2.PoolablePreparedStatement with address: "select 'literal', SYSDATE from dual" is closed.
      	at org.apache.commons.dbcp2.DelegatingStatement.checkOpen(DelegatingStatement.java:120)
      	at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:77)
      	at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:82)
      	at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:82)
      	at org.apache.commons.dbcp2.TestConnectionPool$TestThread.run(TestConnectionPool.java:601)
      	at java.lang.Thread.run(Thread.java:744)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sebb Sebb
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: