commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "venkat naidu" <venkat.for...@gmail.com>
Subject commons-DBCP-1.2.1 test cases are failing on windows and linux
Date Wed, 03 Jan 2007 17:14:32 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message