You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Raible, Matt" <Ma...@cable.comcast.com> on 2003/01/07 00:49:12 UTC
Tomcat opens new DB Connections on Restart
I am using DBCP and a JDBCRealm with Tomcat 4.1.18. Everytime I re-deploy
my application (using Ant), Tomcat restarts because it detects that classes
have been refreshed. However, it also created two additional database
connections - so after re-deploying for a long time (an hour) - I get up to
50 connections! I have added the following settings to my server.xml, but
it doesn't seem to help.
<parameter>
<name>removeAbandoned</name>
<value>true</value>
</parameter>
<parameter>
<name>removeAbandonedTimeout</name>
<value>60</value>
</parameter>
<parameter>
<name>logAbandoned</name>
<value>true</value>
</parameter>
Any ideas?
Environment: JDK 1.4.1_01, Windows 2000
Thanks,
Matt
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>