https://issues.apache.org/bugzilla/show_bug.cgi?id=49584

--- Comment #1 from Mark Thomas <ma...@apache.org> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to