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: mur...@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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org