Hi Martin,
AFAIK, the API you are referring to stopps the entire tomcat.
What I'm looking for is a way to start/stop one of many web applications
which are running under tomcat 5.5

Thanks in advance,
Asaf
 

-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 10, 2006 3:31 PM
To: Tomcat Users List
Subject: Re: stopping a tomcat web application

http://www.docjar.com/docs/api/org/apache/catalina/startup/Bootstrap.html
start() method for starting Catalina
stop() method for stopping Catalina
stopServer() which will stop Tomcat
HTH,
M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "asaf.lahav" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <users@tomcat.apache.org>
Sent: Saturday, September 09, 2006 12:41 AM
Subject: RE: stopping a tomcat web application


> Does anyone have a code sample that performs a start and/or a stop to a
> specific web application utilizing JMX (or what ever other method)?
> 
> 
> -----Original Message-----
> From: Peter Rossbach [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 04, 2006 1:22 PM
> To: Tomcat Users List
> Subject: Re: stopping a tomcat web application
> 
> 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:[EMAIL PROTECTED]
>> 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      <[EMAIL PROTECTED]>        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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to