-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
On 3/31/2009 10:57 PM, Caldarale, Charles R wrote: >> From: allen.ir...@smartintegration.com.au >> Subject: Connection Pooling questions >> >> I do close the connections within my program using conn.close(); > > The evidence suggests otherwise. You also need to close result sets > and statements associated with the connection, and all of the close() > calls should be in a finally block to insure they always get > executed. Agreed. See http://blog.christopherschultz.net/?p=68 for examples. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknTW6AACgkQ9CaO5/Lv0PA6pwCfTDrXTqCfV94BTNKR6tDZl8Gf uE8AnRBMm2Iraobvs4NNSnIPzUgcdiov =xPNW -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org