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
- duplicates
-
DBCP-415 Pooled PreparedStatements may be closed when accessed
- Closed