Hello all. 

I think I may have a connection leak somewhere in my
app and I have been perusing the mailing list archives
trying to see how I can track open and abandoned
connections.

I upgraded all the pertinent jars:

commons-dbcp 1.2.1
commons-pool 1.2
commons-collections 3.1

I have tried putting the following lines in my Torque
config file:

torque.dsfactory.myApp.pool.maxWait = 5000
torque.dsfactory.myApp.pool.defaultMaxActive=25
torque.dsfactory.myApp.pool.removeAbandoned = true
torque.dsfactory.myApp.pool.logAbandoned = true
torque.dsfactory.myApp.pool.removeAbandonedTimeout =
300

... and *all* of them fail with the following error:

[ERROR] AbstractDataSourceFactory - Property: <maxWait
| defaultMaxActive | removeAbandoned | logAbandoned |
removeAbandonedTimeout> value: 25 is not supported by
DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource

I found these settings on the DBCP web site under
configuration, and have seen them in various messages
on the mailing list.

Can anyone explain to me why they are choking?

Many thanks,
Bob




                
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

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

Reply via email to