I WANT Tomcat to die when a given servlet fails to initialize

2008-08-22 Thread COHEN, STEVEN M (ATTSI)
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

RE: I WANT Tomcat to die when a given servlet fails to initialize

2008-08-22 Thread COHEN, STEVEN M (ATTSI)
to initialize try { [...] } catch (Exception e) { System.exit(0); } ?? :-) -lg On Fri, Aug 22, 2008 at 3:42 PM, COHEN, STEVEN M (ATTSI) [EMAIL PROTECTED] 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

RE: I WANT Tomcat to die when a given servlet fails to initialize

2008-08-22 Thread COHEN, STEVEN M (ATTSI)
[mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2008 1:55 PM To: Tomcat Users List Subject: Re: I WANT Tomcat to die when a given servlet fails to initialize try { [...] } catch (Exception e) { System.exit(0); } ?? :-) -lg On Fri, Aug 22, 2008 at 3:42 PM, COHEN, STEVEN

RE: I WANT Tomcat to die when a given servlet fails to initialize

2008-08-22 Thread COHEN, STEVEN M (ATTSI)
, that servlet won't run. If you do app initialization in a ServletContextListener and throw an exception from the contextInitialized method, the webapp won't run. But in both these cases the Tomcat server keeps running. -- Len On Fri, Aug 22, 2008 at 15:08, COHEN, STEVEN M (ATTSI) [EMAIL PROTECTED