unday, 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
H
.
- Original Message -
From: "asaf.lahav" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
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
: 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 wh
You mean you wish to do it without using the Tomcat Manger?
asaf.lahav wrote:
I did...
It doesn't answer my question...
-Original Message-
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 1:33 PM
To: Tomcat Users List
Subject: Re: stopping a t
I did...
It doesn't answer my question...
-Original Message-
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 1:33 PM
To: Tomcat Users List
Subject: Re: stopping a tomcat web application
asaf.lahav wrote:
> Wouldn't it be possible to u
asaf.lahav wrote:
Wouldn't it be possible to use JMX in the servletContextListener?
Is there any alternative?
Read Peter Crowther's post.
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>http://ceti.pl/~miki/
PGP KeyID: 8b12ab02
There are three kinds of people: men,
Wouldn't it be possible to use JMX in the servletContextListener?
Is there any alternative?
-Original Message-
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 10:13 AM
To: Tomcat Users List
Subject: Re: stopping a tomcat web application
asaf.
asaf.lahav wrote:
I'm looking for java code to stop a specific web application running on my
tomcat. Not the entire tomcat.
You can stop a tomcat webapp using JMX and MBeans. But your original
question was how to stop webapp from ServletContextListener during its
startup.
--
Mikolaj Rydze
I'm looking for java code to stop a specific web application running on my
tomcat. Not the entire tomcat.
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, September 04, 2006 3:02 PM
To: Tomcat Users List
Subject: Re: stopping a tomcat web application
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> You are executing java class
> org.apache.catalina.startup.Bootstrap with the 'stop' option
Martin - like your previous suggestion, that stops the entire container,
not the single webapp. JMX would appear to be the way to go to stop a
webapp, bu
nal Message -
From: "asaf.lahav" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
Sent: Monday, September 04, 2006 5:50 AM
Subject: RE: stopping a tomcat web application
> Isn't there a way to stop a tomcat web application using code?
> Tomcat provides
cific 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
ailto:[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 goe
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
Hmm,
I think it's not possible from tomcats view, but you could have a
static class, where you store your status, like
class Status{
public static boolean continueLoading(){
}
}
in your servlet you can check whether loading is alowed :
public class MyServlet extends HttpServlet{
public void
15 matches
Mail list logo