tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Shutting down one instance of tomcat 6 from a listener
Date Tue, 09 Nov 2010 19:51:43 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick,

On 11/9/2010 11:36 AM, Patrick Sauts wrote:
> I'm sorry I'm French.

No problem: we can work around language difficulties. More explanation
usually helps.

> Multiple cores, maybe?

The number of CPU cores should not affect the number of instances that
you have.

> As when you use the manager to deploy different web applications, several
> war.

So, it sounds like you have a single Tomcat/JVM instance but multiple
applications running on it. You want to have one of your webapps check
some configuration and gracefully stop if there is a problem, leaving
the other webapps deployed into Tomcat to continue their business.

If that's the case, then calling System.exit will certainly cause Tomcat
to become "unstable", where "unstable" means completely stopped.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzZpk8ACgkQ9CaO5/Lv0PDIzwCeL7AFHpsLKcpNbRPprDxnPKRF
yMUAoJSOfLBrIw0mvW/HlbRyKM7bl5Nj
=olUO
-----END PGP SIGNATURE-----

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


Mime
View raw message