tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lefevre <lefev...@yahoo.com>
Subject Re: Getting the Tomcat shutdown port
Date Mon, 28 Feb 2011 16:12:05 GMT
> Doing this from a servlet begs the question how you are going
> to restart it.

Not an issue: I want to shut it down at startup if some needed
resources cannot be found. No pint restarting it then.

> I'm also curious why you want tot do this but System.exit() will
> have exactly the same result as using the shutdown port.

Does Tomcat set up appropriate shutdown hooks when it starts?
Otherwise tearing down the VM could cause damage to external
resources at least.

-- O.L.



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


Mime
View raw message