tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49584] Borrowers Getting Stuck
Date Wed, 15 Sep 2010 11:43:19 GMT

--- Comment #1 from Mark Thomas <> 2010-09-15 07:43:12 EDT ---
(In reply to comment #0)
> There is also an issue with connection create failing causing the pool size to
> be incremented but not decremented. In the borrowConnection method the pool
> size is incremented. However, if an exception occurs in the createConnection
> method releaseConnection can be called with a null argument and the pool size
> is not decremented.

I've looked at the code and I can't see a code path where con could be null. I
refactored the code to make this clearer.

I'll look at the other issue next.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message