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] New: Borrowers Getting Stuck
Date Mon, 12 Jul 2010 09:15:21 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49584

           Summary: Borrowers Getting Stuck
           Product: Tomcat 7
           Version: unspecified
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Modules: jdbc-pool
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: murphy@ben.name


The borrow connection logic seems to assume that connections will always
transition between active to idle. However, if connections move from active to
released then a borrower can get stuck in idle.poll even though there is room
in the pool for another connection to be created.

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.

-- 
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