commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Bowen <>
Subject DBCP :: Problem initializing pool
Date Mon, 27 Jun 2005 09:53:39 GMT
Hello everyone.

I am using DBCP (with Torque) for my J2EE app. I
believe I have a connection leak somewhere and I am
trying to find out where. When I try to initialize the
pool with parameters for dealing with and debugging
abandoned connections, I am getting errors with the
following params:

Property: removeAbandoned, Value: true
Property: logAbandoned, Value: true
Property: removeAbandonedTimeout, Value: 300

The error is always the same: "<param> value: <value>
is not supported by DataSource:

All three of these parameters appear on the DBCP
Configuration page

I believe I have all the correct versions of all jars:


... but it doesn't want to work. The method that craps
out is in AbstractDataSourceFactory, setProperty().
Line 147:

Class propertyType = PropertyUtils.getPropertyType(ds,

propertyType is always null.

Can anyone give me a hand with this? It seems that the
SharedDataSourceFactory doesn't allow these params,
but according to the documentation it does. Any ideas?

Many thanks,

Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message