You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2014/04/14 00:06:15 UTC

[jira] [Closed] (DBCP-416) TestConnectionPool.testThreaded() sometimes fails

     [ 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)