Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 99450 invoked from network); 9 Apr 2003 14:25:18 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 9 Apr 2003 14:25:18 -0000 Received: (qmail 25852 invoked by uid 97); 9 Apr 2003 14:27:10 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 25845 invoked from network); 9 Apr 2003 14:27:10 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 9 Apr 2003 14:27:10 -0000 Received: (qmail 96179 invoked by uid 500); 9 Apr 2003 14:24:33 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 96138 invoked from network); 9 Apr 2003 14:24:32 -0000 Received: from f35.law15.hotmail.com (HELO hotmail.com) (64.4.23.35) by daedalus.apache.org with SMTP; 9 Apr 2003 14:24:32 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 9 Apr 2003 07:24:34 -0700 Received: from 32.97.110.142 by lw15fd.law15.hotmail.msn.com with HTTP; Wed, 09 Apr 2003 14:24:34 GMT X-Originating-IP: [32.97.110.142] X-Originating-Email: [dgraham1980@hotmail.com] From: "David Graham" To: commons-dev@jakarta.apache.org Bcc: Subject: Re: [DBCP] Abandoned connections not being returned to pool upon clos ing Date: Wed, 09 Apr 2003 08:24:34 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 09 Apr 2003 14:24:34.0765 (UTC) FILETIME=[BE6BB7D0:01C2FEA3] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The abandoned functionality has been deprecated and will be removed in a future release. David >From: "Timko, Cheryl A." >Reply-To: "Jakarta Commons Developers List" > >To: "'commons-dev@jakarta.apache.org'" >Subject: [DBCP] Abandoned connections not being returned to pool upon >clos ing >Date: Wed, 09 Apr 2003 10:10:10 -0400 > > Our project uses the BasicDataSource class to create and maintain >the pool of database connections (internally, the BasicDataSource creates >an >AbandonedObjectPool for the connection pooling). What I noticed is that >when the close() method is called on the BasicDataSource, the "abandoned >connections" are not being returned to the pool in order for them to be >closed. > > The check for whether "abandoned connections" are returned to the >pool is only performed in the AbandonedObjectPool's borrowObject(). Since >the AbandonedObjectPool does not have a close() method to return all the >abandoned connections to the pool, does anyone know of another way to >accomplish this when the pool is being closed? If not, is it possible to >add this functionality in a future release? > > Thank you in advance for your feedback. > > Cheryl Timko > > > > > >------------------------------------------------------------------------------ >Notice: This e-mail message, together with any attachments, contains >information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that >may be confidential, proprietary copyrighted and/or legally privileged, and >is intended solely for the use of the individual or entity named in this >message. If you are not the intended recipient, and have received this >message in error, please immediately return this by e-mail and then delete >it. > >============================================================================== > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org >For additional commands, e-mail: commons-dev-help@jakarta.apache.org > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org