tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucas Galfaso" <>
Subject Re: I WANT Tomcat to die when a given servlet fails to initialize
Date Fri, 22 Aug 2008 18:54:43 GMT
try {
} catch (Exception e) {




On Fri, Aug 22, 2008 at 3:42 PM, COHEN, STEVEN M (ATTSI) <> wrote:
> This may seem like an odd request and I'm sure it is nonstandard, but it
> nonetheless something I'd like to be able to do.  We have an instance of
> Tomcat running.  It runs one application.  This application is NOT an
> application serving content over the www.  It is basically a straight java
> application running inside of a web server.  The reason it runs in a Web
> server is because there is one subsidiary use case that uses HTTP Gets to
> fire actions in the application via a servlet.  No other applications are
> served off this web server.
> The non-web application's "main()" is the servlet's init().  If this servlet
> cannot initialize there is no point to keeping Tomcat running and it would
> in fact make monitoring easier if it were not running.
> Is there any easy way to achieve this in Tomcat?

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

View raw message