commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Pekny <matthias.pe...@gmx.at>
Subject Re: [DBCP] abandoned connections problem
Date Mon, 27 Oct 2003 11:16:43 GMT
Dirk Verbeeck wrote:
> I have my own jsp page and it works for me :-)
> Try it yourself:
>    http://cvs.apache.org/viewcvs/jakarta-commons/dbcp/doc/
> 
[...]
> <parameter><name>removeAbandonedTimeout</name><value>0</value></parameter>

It seems that setting the timeout to 0 does the trick. Thanks for the hint.
[...]
> 
> The conditions to activate the abandoned mechanism are:
>    (getNumIdle() <  2) and (getNumActive() >  getMaxActive() - 3)

Is there a way (I've missed in the docs up to now) to change this 
behaviour? Except from changing the sources ;)


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


Mime
View raw message