commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joao Batistella <>
Subject RE: Connection is closed
Date Mon, 29 Mar 2004 20:28:19 GMT
I do that. I only deal with the connection returned by DBCP. Is there a
timeout attribute (or anyother thing) that can close the connection?

-----Original Message-----
From: Stephen Westbom []
Sent: segunda-feira, 29 de março de 2004 12:47
To: Jakarta Commons Users List
Subject: Re: Connection is closed

Just a guess, but after your last question, don't ever call the close()
on the underlying connection object.  That truly  closes the connection and
will have a dead one in the pool.  Only call close() on the DBCP connection
object decorator which simply returns the connection to the pool.

--- Joao Batistella <> wrote:
> Hello!
> I started using DBCP with Oracle 8i and I'm having the error "Connection
> closed" sometimes. How can I change the DBCP configuration to avoid this
> kind of error?
> Thanks,
> JP

Your source for complex solutions to simple problems

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message