commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Hsu" <hsu.p...@verizon.net>
Subject Re: [DBCP] connection boorow time out
Date Thu, 27 Jan 2005 19:12:44 GMT
Dirk,

Thank you. But I think the feature is deprecated? Can I still use it?

Thanks,

Paul

----- Original Message ----- 
From: "Dirk Verbeeck" <dirk.verbeeck@pandora.be>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Thursday, January 27, 2005 10:46 AM
Subject: Re: [DBCP] connection boorow time out


> You are looking for the "removeAbandoned" feature.
> DBCP doesn't check periodically but only when the pool is almost empty. 
> More information on the configuration page:
> http://jakarta.apache.org/commons/dbcp/configuration.html
>
> -- Dirk
>
> Paul Hsu wrote:
>
>> Hi,
>>
>> I just wonder that DBCP can monitor a connection pool to check if a 
>> connection is borrowed too long by a client periodically, if so then pool 
>> will mandatory move the connection from active to idle. This can void 
>> whoever borrow the connection and never return to pool. So we need to 
>> parameters can be set, one is the how often pool will monitor and other 
>> is how long a connection can be borrowed out.
>>
>>
>> Thanks,
>>
>> Paul
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
> 


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


Mime
View raw message