commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz" <phil.ste...@gmail.com>
Subject Re: [VOTE] Release Pool 1.3 based on 1.3-rc4
Date Mon, 27 Mar 2006 01:38:40 GMT
-0
Could be a problem with setup or test itself, but with the 1.3-rc4
jar, I am getting failures in [dbcp] test
org.apache.commons.dbcp.TestJOCLed.  These tests pass with 1.2.  The
good news is the other [dbcp] test failures that pool 1.3 is supposed
to fix succeed for me.  Failures below happen on both Sun Linux JDK
1.5.0_06 and 1.4.2_10.

Another small nit is that the RELEASE-NOTES have an old paste reference to [io].

Checked sigs and contents and everything looks good.  Could be test
failure is due to bad test in [dbcp].  Will change to +1 when this is
resolved.

Phil

Test failure:

Testcase: testPooling(org.apache.commons.dbcp.TestJOCLed):	FAILED
null
junit.framework.AssertionFailedError
	at org.apache.commons.dbcp.TestConnectionPool.testPooling(TestConnectionPool.java:270)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


Testcase: testConnectionsAreDistinct(org.apache.commons.dbcp.TestJOCLed):	Caused
an ERROR
Cannot get a connection, pool error: Timeout waiting for idle object
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection,
pool error: Timeout waiting for idle object
	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)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
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)
	... 18 more

This same error occurs for testOpening, testClosing,  testMaxActive,
testThreaded, testPrepareStatementOptions, testNoRsetClose and
testHashCode.

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message