Has anyone else tried to use the connection pool in Tomcat with the below parameters..

<parameter><name>removeAbandoned</name><value>TRUE</value></parameter> <parameter><name>removeAbandonedTimeout</name><value>10</value></parameter>
       <parameter><name>logAbandoned</name><value>TRUE</value></parameter>

I can see that when I first issue a connect I get below, and I can use that datasource. But according to the commons-dbcp api, for a fail safe I can set removeAbandoned and removeAbandonedTimeout to clean up any abandoned connections.. But this does not seem to work and is causing me problems. I can throw a page together that gets 4 connections, then do nothing with them and they are never removed. I then tried getting the 4 connections and then setting them immediately to null and closing the browser, thinking there was some sort of reference here. But still they will not get removed. Any one else ever seen this?

AbandonedObjectPool is used ([EMAIL PROTECTED])
  LogAbandoned: true
  RemoveAbandoned: true
  RemoveAbandonedTimeout: 10

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to