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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to