tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Tomcat does not stop if the deployment fails
Date Tue, 24 Apr 2007 11:26:43 GMT
Tim Lucia wrote:
> You can't, and generally don't want to stop Tomcat (the server) when an
> application is mis-configured.  Instead, you can stop (mark unavailable)
> your application.  One way to do this is to throw an exception inside a
> ServletContextListener, if it detects wrong values inside the configuration
> file:

You could call System.exit() in the ServletContextListener rather than
throw an exception.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message