Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 40142 invoked from network); 11 Jan 2007 20:28:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jan 2007 20:28:48 -0000 Received: (qmail 28760 invoked by uid 500); 11 Jan 2007 20:28:42 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 28736 invoked by uid 500); 11 Jan 2007 20:28:42 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 28725 invoked by uid 99); 11 Jan 2007 20:28:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 12:28:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ductaa@gmail.com designates 209.85.132.240 as permitted sender) Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 12:28:33 -0800 Received: by an-out-0708.google.com with SMTP id c8so268923ana for ; Thu, 11 Jan 2007 12:28:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EtbYZOMN32xr0cgopNX/Msq72msLGyNZrTlcwH9jNDOfOFP1CzB1P9aiCLY1VuuivfJmRy/qi3USpydgmU/7+oAWXw8dE8EM2f7S6QbQiY9bWenEbWizH3i/sAeGCgJQ1hKH6urAWnf31X31BMWhwjaJkZJGk9HK4PEYoZruzQ8= Received: by 10.65.152.17 with SMTP id e17mr2700578qbo.1168547292659; Thu, 11 Jan 2007 12:28:12 -0800 (PST) Received: by 10.65.123.11 with HTTP; Thu, 11 Jan 2007 12:28:12 -0800 (PST) Message-ID: Date: Thu, 11 Jan 2007 15:28:12 -0500 From: "David Uctaa" To: "Tomcat Users List" Subject: Re: How to forcibly close abandoned database connections? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Created a little admin app to do just that, and it worked perfectly. All the connections being shown as "busy" cleared right out, and only the minimum number of idle / available connections remained. Thanks much. On 1/10/07, Varley, Roger wrote: > > > > > I agree that is probably what is happening, since the application has > > gone idle. However, with garbage collection, while it will only > > reclaim memory when necessary, there is a way to force garbage > > collection. I am looking for a similar process with abandoned > > database connections. > > > > If the connections will only re-cycle with increased demand, could you not create that demand with an "admin" type program that requests, opens & then closes X connections? > > Regards > Roger > > _______________________________________________________ > > This e-mail and the documents attached are confidential and intended > solely for the addressee; it may also be privileged. If you receive this > e-mail in error, please notify the sender immediately and destroy it. > As its integrity cannot be secured on the Internet, the Atos Origin group > liability cannot be triggered for the message content. Although the > sender endeavours to maintain a computer virus-free network, the > sender does not warrant that this transmission is virus-free and will > not be liable for any damages resulting from any virus transmitted. > _______________________________________________________ > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org