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 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
