You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by venkat naidu <ve...@gmail.com> on 2007/01/03 18:14:32 UTC
commons-DBCP-1.2.1 test cases are failing on windows and linux
Hi
Group,
i am facing few problems with test cases,
please look in to these and help me.
i am getting following exception
junit.framework.AssertionFailedError: null
at org.apache.commons.dbcp.TestConnectionPool.testPooling(
TestConnectionPool.java:270)
and
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool
exhausted
at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:183)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at org.apache.commons.dbcp.TestJOCLed.getConnection(TestJOCLed.java:42)
at org.apache.commons.dbcp.TestConnectionPool.testConnectionsAreDistinct
(TestConnectionPool.java:296)
Caused by: java.util.NoSuchElementException: Timeout waiting for idle object
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(
GenericObjectPool.java:825)
at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
please help me in this issue
Thanks in advance
venkat