commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: DBCP reconnecting fails
Date Sat, 17 Jul 2010 17:59:37 GMT
Harut Martirosyan wrote:
> Hi, I have a program which periodically executes a simple query on each
> connection, and once the connection is being lost it fails during next
> iteration and doesn't recover the connections.
> 
> My configuration is
> 
> initialSize = 5
> maxActive = 5
> maxWait = 10000
> maxIdle = 3
> minIdle = 2
> autoReconnect = true
> autoReconnectForPools = true
> maxReconnects = 10
> testOnBorrow = true
> validationQuery = SELECT * FROM vtable
> 

Do you close the connections?  What exactly do you mean by "the
connection is being lost?"

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message