commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject [DBCP] Possible bug in PerUserPoolDataSource
Date Tue, 05 Jan 2010 18:41:52 GMT
It looks like there may be a bug in PerUserPoolDataSource.

>From time to time, more than 10 of the threads acquire connections in
the testMultipleThreads2() test case. I don't think this should
happen, and it does not happen in the TestSharedPoolDataSource
version.

I've committed some debug code as part of r896162.
In my tests, this sometimes shows >10 threads in state "Done", yet
none of them had to wait for a connection.

I've started looking at the code, but it's a bit complicated and the
Javadoc is somewhat lacking (might fix that as I go) so I've yet to
find a bug.

Let's see if Continuum gives similar debug output.

S

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


Mime
View raw message