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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org