[ https://issues.apache.org/jira/browse/DBCP-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Steitz closed DBCP-416. ---------------------------- Resolution: Duplicate The changes committed in r1586926 were to make this happen consistently. > TestConnectionPool.testThreaded() sometimes fails > ------------------------------------------------- > > Key: DBCP-416 > URL: https://issues.apache.org/jira/browse/DBCP-416 > Project: Commons Dbcp > Issue Type: Bug > Reporter: Sebb > > TestConnectionPool.testThreaded() sometimes fails for me: > {code} > 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) > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)