Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

dbcp doesn't stacktrace

Marten Lehmann

2003-12-13

Replies:

Hello,

to test dbcp's stacktrace functionality, I didn't close the databases
connection after use. But although I set the abondedTimeout to 60, the
connections are never returned, they are still open and I don't see a
stacktrace, too.

I used the following parameters, as from the howto:

        <parameter>
         <name>removeAbandoned</name>
         <value>true</value>
        </parameter>
        <parameter>
         <name>removeAbandonedTimeout</name>
         <value>60</value>
        </parameter>
        <parameter>
         <name>logAbandoned</name>
         <value>true</value>
        </parameter>

What could be wrong?

Regards
Marten


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.