Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF3CF9545 for ; Tue, 7 Feb 2012 21:51:44 +0000 (UTC) Received: (qmail 75579 invoked by uid 500); 7 Feb 2012 21:51:41 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 75419 invoked by uid 500); 7 Feb 2012 21:51:40 -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 75408 invoked by uid 99); 7 Feb 2012 21:51:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2012 21:51:40 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of demablogia@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2012 21:51:33 +0000 Received: by iahk25 with SMTP id k25so14289097iah.18 for ; Tue, 07 Feb 2012 13:51:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=Jls4HgmV98IC3X6CYW+9m1f1cwReC8BlFA6HuQ3PWkY=; b=rIU6CijcQCUB1zE/7g2evObrUGwzz+yN1UOxsb/UtYx5jeztWEdN5JLrt01iV4RNgl 0QDNajKJUddz8snnTbmYLQC/S30W/CreDFxJXFo4BGNmDwk0lP1bBWCL8Dm6j8tQb/mW 6ysqKYsGvGJHUd+n5ANxv1e5d9PFBzNTUPV94= Received: by 10.50.153.133 with SMTP id vg5mr18690410igb.8.1328651473415; Tue, 07 Feb 2012 13:51:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.109.227 with HTTP; Tue, 7 Feb 2012 13:50:50 -0800 (PST) In-Reply-To: <13B290A06827324E9ADB71AA314F818901462D84@otis.burlington.evertz.tv> References: <13B290A06827324E9ADB71AA314F818901462D10@otis.burlington.evertz.tv> <99C8B2929B39C24493377AC7A121E21FB01128ACC5@USEA-EXCH8.na.uis.unisys.com> <13B290A06827324E9ADB71AA314F818901462D44@otis.burlington.evertz.tv> <4F3184C1.30405@christopherschultz.net> <13B290A06827324E9ADB71AA314F818901462D84@otis.burlington.evertz.tv> From: Chema Date: Tue, 7 Feb 2012 22:50:50 +0100 Message-ID: Subject: Re: Shutdown Hooks not firing when tomcat is shutdown from within a webapp To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > "Asynchronous Notification 'interface com.evertz.registry.ServerRegistryL= istener: masterChanged'" daemon prio=3D6 tid=3D0x28c77000 nid=3D0x16d8 in O= bject.wait() [0x2899f000] > =A0 java.lang.Thread.State: WAITING (on object monitor) > =A0 =A0 =A0 =A0at java.lang.Object.wait(Native Method) > =A0 =A0 =A0 =A0- waiting on <0x08bc3ac0> (a org.apache.catalina.startup.C= atalina$CatalinaShutdownHook) > =A0 =A0 =A0 =A0at java.lang.Thread.join(Thread.java:1143) > =A0 =A0 =A0 =A0- locked <0x08bc3ac0> (a org.apache.catalina.startup.Catal= ina$CatalinaShutdownHook) > =A0 =A0 =A0 =A0at java.lang.Thread.join(Thread.java:1196) > =A0 =A0 =A0 =A0at java.lang.ApplicationShutdownHooks.runHooks(Application= ShutdownHooks.java:79) > =A0 =A0 =A0 =A0at java.lang.ApplicationShutdownHooks$1.run(ApplicationShu= tdownHooks.java:24) > =A0 =A0 =A0 =A0at java.lang.Shutdown.runHooks(Shutdown.java:79) > =A0 =A0 =A0 =A0at java.lang.Shutdown.sequence(Shutdown.java:123) > =A0 =A0 =A0 =A0at java.lang.Shutdown.exit(Shutdown.java:168) > =A0 =A0 =A0 =A0- locked <0x23c8bf68> (a java.lang.Class for java.lang.Shu= tdown) > =A0 =A0 =A0 =A0at java.lang.Runtime.exit(Runtime.java:90) > =A0 =A0 =A0 =A0at java.lang.System.exit(System.java:904) Can I see ApplicationShutdownHooks source code ? What 's com.evertz.registry.ServerRegistryListener ? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org