From users-return-150654-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Mon Sep 04 11:22:18 2006 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 18029 invoked from network); 4 Sep 2006 11:22:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Sep 2006 11:22:15 -0000 Received: (qmail 3200 invoked by uid 500); 4 Sep 2006 11:22:03 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 3175 invoked by uid 500); 4 Sep 2006 11:22:02 -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 3164 invoked by uid 99); 4 Sep 2006 11:22:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 04:22:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.160.178.142] (HELO p15122102.pureserver.info) (217.160.178.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 04:22:01 -0700 Received: from [192.168.1.5] (dslb-084-060-111-030.pools.arcor-ip.net [84.60.111.30]) by p15122102.pureserver.info (Postfix) with ESMTP id 532353AC225 for ; Mon, 4 Sep 2006 13:37:32 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <44fbe9bd.41076bff.1009.76d6@mx.gmail.com> References: <44fbe9bd.41076bff.1009.76d6@mx.gmail.com> Content-Type: multipart/alternative; boundary=Apple-Mail-32-820559412 Message-Id: <06F54CFF-6AE6-41D9-9B19-91715B91CDF3@objektpark.de> From: Peter Rossbach Subject: Re: stopping a tomcat web application Date: Mon, 4 Sep 2006 13:21:42 +0200 To: "Tomcat Users List" X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-32-820559412 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Look at http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html and use JMX. Regards Peter Am 04.09.2006 um 11:50 schrieb asaf.lahav: > Isn't there a way to stop a tomcat web application using code? > Tomcat provides an administration interface which enables starting and > stopping of specific web applications. > Can anyone point me to the web application management code? > > -----Original Message----- > From: Mikolaj Rydzewski [mailto:miki@ceti.pl] > Sent: Sunday, September 03, 2006 11:04 PM > To: Tomcat Users List > Subject: Re: stopping a tomcat web application > > asaf.lahav wrote: >> I would like to know whether and how it's possible to stop the web >> application from continuing the start sequence in case something goes > wrong >> in the initialize sequence? >> > I don't know how this compares to specification, but throwing an > exception in contextInitialized() stops deployment procedure. The > application is unsuable then, but maybe this is what you want. > > -- > Mikolaj Rydzewski http://ceti.pl/~miki/ > PGP KeyID: 8b12ab02 > There are three kinds of people: men, women and unix. > > > > --------------------------------------------------------------------- > 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 > > --Apple-Mail-32-820559412--