DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29497>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29497 Connection pool, redeployment Summary: Connection pool, redeployment Product: Tomcat 5 Version: 5.0.9 Platform: PC OS/Version: Windows XP Status: UNCONFIRMED Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] My application uses database for storing information, particularly mysql. During it's work it takes 4 connections from the connection pool. At this moment number number of physical connections to database increases by 4. Then connection are being closed from inside the application. Number of physical connections does not decrease. As I suspect these connections are in pool. When application takes those 4 connections again number of physical connections stays the same, i.e. everything is ok. But when I redeploy application connection pool does not release physical connections, i.e. each time after application is being redeployed, number of physical connections increases by 4 until I get exception: too many opened connections. This problem occurs with Tomcat 5.0.9 on WinXP with DBCP 1.1 / 1.2 and Tomcat 5.0.25 on FreeBSD. Mysql is run on FreeBSD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]