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

Reply via email to