--- Rodrigo Reyes <[EMAIL PROTECTED]> wrote:
> Thanx David...
> But if this happens, how do I close connections when the system no
> longer
> uses them? 

Your code should always close connections from the pool when it's done
with them.  Connections also get closed when they're garbage collected so
if your app stops using the DataSource or gets shut down they will be
closed.

David

> Is there some way to recover "active" connections?
> 
> Rodrigo
> 
> ----- Original Message ----- 
> From: "David Graham" <[EMAIL PROTECTED]>
> To: "Jakarta Commons Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, July 08, 2003 4:21 PM
> Subject: Re: Using AbandonedObjectPool...
> 
> 
> > FYI, the abandoned functionality in DBCP has been deprecated and will
> be
> > removed in a future release.
> >
> > David
> >
> > --- Rodrigo Reyes <[EMAIL PROTECTED]> wrote:
> > > Hi all
> > >     We would like to use the AbandonedObjectPool in DBCP. Still, we
> > > haven't
> > > been able to configure it right. Could someone give us an example of
> how
> > > it
> > > should be configured so the connections which remain iddle for a
> certain
> > > amount of time get recovered? Is there some way to recover a
> connection
> > > if
> > > it remains "active" for too much time? Thanx...
> > >
> > > Rodrigo
> > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to