Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 23890 invoked from network); 23 Oct 2007 23:17:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2007 23:17:33 -0000 Received: (qmail 4742 invoked by uid 500); 23 Oct 2007 23:17:08 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 4715 invoked by uid 500); 23 Oct 2007 23:17:08 -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 4704 invoked by uid 99); 23 Oct 2007 23:17:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 16:17:08 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [75.126.46.43] (HELO symphonious.net) (75.126.46.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 23:17:09 +0000 Received: from [192.168.0.30] (unknown [58.87.8.34]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by symphonious.net (Postfix) with ESMTP id 2DD2F1E70274 for ; Wed, 24 Oct 2007 09:16:43 +1000 (EST) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <1E57D2B8-1092-46EE-8F12-777FF48B6AEB@symphonious.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: Tomcat Users List From: Adrian Sutton Subject: Tomcat Process Not Exiting Date: Wed, 24 Oct 2007 09:16:36 +1000 X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I need some help tracking down why the tomcat process (the actual server) never exits when executing shutdown.sh. I'm pretty sure it's something my webapp is doing but I'm not sure how to get the debugging information to track it down. If I execute startup.sh, wait for startup to finish and then run shutdown.sh - everything exits normally. If I send a request to my webapp though, shutdown.sh runs normally and the Tomcat logs show all the usual shutdown logs but the process never exits. The logs I get both when it works and when it doesn't are: Oct 24, 2007 8:52:00 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Oct 24, 2007 8:52:01 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Oct 24, 2007 8:52:02 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 My main suspect was a non-daemon thread lurking around or a deadlock, but using kill -QUIT I can verify that all the threads are daemon and none of them deadlocked *before* I execute shutdown.sh and afterwards kill -QUIT doesn't have any effect. Any tips on how to work out what's going wrong? Thanks, Adrian Sutton http://www.symphonious.net --------------------------------------------------------------------- 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