tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49584] Borrowers Getting Stuck
Date Wed, 15 Sep 2010 11:43:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49584

--- Comment #1 from Mark Thomas <markt@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message