Abandoned Connections not removed 2003-10-16 - By Matt Raible
Back I'm using Tomcat 5.0.12 and DBCP to setup a database connection pool. I have the following settings defined in my app's context.xml file, but they don't seem to be doing any good. My connections continue to increase, and I know they're idle and have not been used for hours.
<!-- Recover abandoned connections --> <parameter> <name>removeAbandoned</name> <value>true</value> </parameter> <!-- Set the number of seconds a dB connection has been idle before it is considered abandoned. --> <parameter> <name>removeAbandonedTimeout</name> <value>10</value> </parameter> <!-- Log a stack trace of the code which abandoned the dB connection resources. --> <parameter> <name>logAbandoned</name> <value>true</value> </parameter>
Is there a new release of DBCP that fixes this problem b/c currently these settings have no effect. I'm running JDK 1.4.2 on RedHat 9, Tomcat 5.0.12. My application is the open source Roller Weblogger.
Thanks,
Matt
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|