Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 29784 invoked from network); 3 Oct 2005 11:50:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2005 11:50:29 -0000 Received: (qmail 80876 invoked by uid 500); 3 Oct 2005 11:50:15 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 79981 invoked by uid 500); 3 Oct 2005 11:50:13 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 79966 invoked by uid 99); 3 Oct 2005 11:50:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 04:50:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of David.Delbecq@oma.be designates 193.190.231.71 as permitted sender) Received: from [193.190.231.71] (HELO bonnie.oma.be) (193.190.231.71) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 04:50:16 -0700 Received: from [193.190.249.120] (bonnie.oma.be [193.190.231.71]) by bonnie.oma.be (8.11.1 (Revision 1.5) /8.11.1) with ESMTP id j93BnnL25941 for ; Mon, 3 Oct 2005 11:49:49 GMT Message-ID: <43411B08.6010808@oma.be> Date: Mon, 03 Oct 2005 13:50:32 +0200 From: David Delbecq User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050802) X-Accept-Language: fr, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: FAQ? shutdown.bat not killing java process on Windows References: <914a054e0510020908r2318ebcasbd004f95da44ec7d@mail.gmail.com> <43410A5A.7090204@mkodo.com> In-Reply-To: <43410A5A.7090204@mkodo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N May i mention also the use of *java.util.Timer in forms other than new **java.util.Timer*(true); If used in any other form, it silently creates a non daemon thread. Jon Wingfield a �crit : > Yep. It's a FAQ, but not in the FAQ. > > Tomcat not quitting generally means your webapp has started a > non-daemon thread which does not exit when the webapp is destroyed. If > so, shut them down in a ServletContextListener. > > If you aren't explicitly creating threads in your webapp then the > usual culprits are database connections that haven't been closed (or > any other client api to remote services that uses asynchronous > messaging and/or keepalive semantics). > > To see a dump of the threads still active after you've run > shutdown.bat do a CTRL-BREAK in the tomcat dos console. > > HTH, > > Jon > > Charles Fineman wrote: > >> I started Tomcat using startup.bat. Everything goes fine. I use >> shutdown.batto bring it down. The server fields the request and shuts >> down a bunch of >> services (as evidenced by the messages I see). Sure enough, the >> server no >> longer responds to any requests. Unfortunately, the java process does >> not >> die. >> >> I have this problem whether I start Tomcat by hand or if I use the >> Sysdeo >> Eclipse plugin. >> >> This problem has been a thorn in my side for some time but since it only >> affects my development environment (we use it as a service in >> production and >> there are no problems) and I can kill the process by hand, I've not >> worried >> about it. It's annoying as heck though and I'm wondering if someone >> can shed >> some light. >> >> I searched around but (surprisingly!!) I didn't find anything similar >> to my >> situation. >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org