commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Durham David Contr 805 CSS/SCBE" <>
Subject RE: DBCP options
Date Wed, 21 May 2003 19:13:49 GMT
> -----Original Message-----
> From: Matthew Denson []
> I would recommend using the Jdbc2PoolDataSource which is in 
> common-dbcp
> after version 1.0.  The API page for that package
> ons/dbcp/j
> dbc2pool/package-summary.html is very helpful.  If you want other help
> let me know I got something to work that is very similar to your
> situation for Oracle8i.

The help is much appreciated.

My understanding is that using setDefaultMaxActive(int maxActive) will mean that I will never
have more than max connections active.  Furthermore, using setDefaultMaxIdle(int maxIdle)
will mean that idle connections beyond maxIdle will be closed.  When will they be closed?
 It doesn't appear idle connections beyond maxIdle are being removed, or I just don't know
what is going to trigger that.  Perhaps I need to do a bit more config for that to happen?

> Hope this helps,
> Matthew


View raw message