> Is there a way to drop/remove connections that have been 'borrowed'
> after they have sat idle for a certain amount of time? I want to
> prevent a process from holding a connection indefinately.
Sure is! Try removeAbandoned and removeAbandonedTimeOut.
I don't know if you're using DBCP from JNDI(I am) in that case try this in your config:
<parameter>
<name>removeAbandoned</name>
<value>true</value>
</parameter>
<parameter>
<name>removeAbandonedTimeout</name>
<value>5</value>
</parameter>
Timeout is in seconds
If you're using DBCP from within your code, you'll have to find the property for
yourself, but that's what it's called.
Grtz,
Martin van Dijken
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>