From users-return-235992-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Tue Aug 14 18:24:54 2012 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 7A8F99D06 for ; Tue, 14 Aug 2012 18:24:54 +0000 (UTC) Received: (qmail 35124 invoked by uid 500); 14 Aug 2012 18:24:50 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 35089 invoked by uid 500); 14 Aug 2012 18:24:50 -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 35080 invoked by uid 99); 14 Aug 2012 18:24:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2012 18:24:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Chad.Davis@emc.com designates 168.159.213.141 as permitted sender) Received: from [168.159.213.141] (HELO mexforward.lss.emc.com) (168.159.213.141) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2012 18:24:42 +0000 Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q7EIOLPQ028949 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 14 Aug 2012 14:24:21 -0400 Received: from mailhub.lss.emc.com (mailhubhoprd01.lss.emc.com [10.254.221.251]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor) for ; Tue, 14 Aug 2012 14:24:06 -0400 Received: from mxhub15.corp.emc.com (mxhub15.corp.emc.com [128.222.70.236]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q7EIO58K022608 for ; Tue, 14 Aug 2012 14:24:05 -0400 Received: from mx14a.corp.emc.com ([169.254.1.151]) by mxhub15.corp.emc.com ([128.222.70.236]) with mapi; Tue, 14 Aug 2012 14:24:05 -0400 From: "Davis, Chad" To: "users@tomcat.apache.org" Date: Tue, 14 Aug 2012 14:21:55 -0400 Subject: tomcat shutdown clarification Thread-Topic: tomcat shutdown clarification Thread-Index: Ac16STkN3sflUFr5ROOAzFHQZ/dYUA== Message-ID: <26A7FC1339D50348898F6DFFC9A96D9C0CB0BC65@MX14A.corp.emc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-EMM-MHVC: 1 When I use the shutdown.sh script to stop tomcat, what happens? =20 My understanding is as follows, please correct where wrong. Each of the Servlet Context's, aka web apps, will have their stop lifecycle= methods invoked. Tomcat itself will stop it's own mechanisms, such as por= t listeners, etc. BUT the JVM won't go down if there are still other threa= ds running . . . in other words, the JVM won't go down if you started other= threads that you don't close in one of the lifecycle methods. =20 Am I missing anything important? =20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org