Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 16790 invoked from network); 6 Oct 2005 08:08:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2005 08:08:16 -0000 Received: (qmail 63382 invoked by uid 500); 6 Oct 2005 08:08:15 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 63031 invoked by uid 500); 6 Oct 2005 08:08:14 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 63020 invoked by uid 99); 6 Oct 2005 08:08:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 01:08:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.175.229.106] (HELO mail.seitenbau.net) (194.175.229.106) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 01:08:17 -0700 Received: from [195.127.188.18] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1ENQn9-0003kD-Ma for torque-user@db.apache.org; Thu, 06 Oct 2005 10:07:51 +0200 In-Reply-To: <20051005175054.99054.qmail@web32813.mail.mud.yahoo.com> Subject: Re: org.apache.torque.TorqueException: java.lang.InstantiationException To: "Apache Torque Users List" X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: From: Thomas Fischer Date: Thu, 6 Oct 2005 10:07:50 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 06.10.2005 10:07:51 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jim Caserta schrieb am 05.10.2005 19:50:54: > One other thing, just to be sure, and I'll pass it > along to all Torque users here.. > > If anyone has: > Torque.closeConnection(dbConn); > Torque.shutdown(); > > It should be replaced with: > dbConn.close(); > dbConn = null; > > Correct? Correct. Use Torque.shutdown() only when your application exits, not for closing any connections. Torque.shutdown() closes all db pools it opens (except the JNDI pools), so among other things, you wont be able to get any new connections after Torque.shutdown(). Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org