db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Bowen <s...@yahoo.com>
Subject Tracking DataSource connections
Date Tue, 21 Jun 2005 08:04:42 GMT
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: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message