tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Sauts" <patrick.via...@gmail.com>
Subject RE: Shutting down one instance of tomcat 6 from a listener
Date Tue, 09 Nov 2010 12:04:24 GMT
What is happening is that the tomcat is becoming unstable with the exit(1). 
Each instance respond on the same host like 192.168.0.1/instance1 and
192.168.0.1/instance2 a Proxy(Squid) do the dispatch. 


-----Original Message-----
From: André Warnier [mailto:aw@ice-sa.com] 
Sent: mardi 9 novembre 2010 11:23
To: Tomcat Users List
Subject: Re: Shutting down one instance of tomcat 6 from a listener

Patrick Sauts wrote:
> Hello,
> 
> I'm working with tomcat 6 and multiples instances; I'm looking for a 
> solution to stop an instance of Tomcat from a listener. The purpose of 
> this listener is to load and check some configurations files such as 
> Spring configuration. Then, if an error is found, to stop this 
> instance. On a Tomcat with only one instance I was using 
> System.exit(1), this solution isn't good of course with multiples
instances.
> 
Why not ? it should only stop the one JVM of this one instance, no ?
Or do you mean one instance with multiple <Host>'s ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message