On 2001.11.20 16:37:28 -0500 "Ferguson, Doug" wrote: > So it appears that the ConnectionInPool is getting removed from the pool > but is inner connection is never getting closed. > > I am thinking that the best approach is to obtain the JDBC connection > by calling getUnderlyingConnection. then call close() on that connection
The ManagedConnection destroy should be called -- this (at least in 3, for the local transaction wrapper) calls con.close(). Can you navigate to the managed connection? thanks david jencks > > If I get the ok. I will do this and check it in. > > d./ > > -----Original Message----- > From: Ferguson, Doug [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 20, 2001 2:28 PM > To: jBoss Dev (E-mail) > Subject: [JBoss-dev] ObjectPool - Invalidate On Error > > > We have just noticed that whenever our code throws a SQLException, > the connection pool continues to grow. Apparently the connections > that get "invalidated" aren't ever cleaned up. These grow until Oracle > bails. I am looking at ObjectPool right now to see if I can figure it > out. > > If anybody already knows about this, please let me know. > > Thanks, > d. > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
