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

2008-08-22 Thread Gabe Wong
ist Subject: Re: I WANT Tomcat to die when a given servlet fails to initialize There isn't a clean way for webapps to shut down the server because they're not really supposed to do that. :-) If you thrown an UnavailableException from a servlet's init method, that servlet won't r

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

2008-08-22 Thread COHEN, STEVEN M (ATTSI)
Friday, August 22, 2008 2:46 PM To: Tomcat Users List Subject: Re: I WANT Tomcat to die when a given servlet fails to initialize There isn't a clean way for webapps to shut down the server because they're not really supposed to do that. :-) If you thrown an UnavailableException fro

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

2008-08-22 Thread COHEN, STEVEN M (ATTSI)
st 22, 2008 3:17 PM To: Tomcat Users List Subject: RE: I WANT Tomcat to die when a given servlet fails to initialize this exits tomcat (which i dont think you want) try return; instead.. Martin __ Disclaimer and confidentiality note Everything in this e

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

2008-08-22 Thread Martin Gainty
nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Subject: RE: I WANT Tomcat to die when a given servlet fails to initialize > Date: Fri, 22 Aug 2008 14:08:48 -0500

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

2008-08-22 Thread Len Popp
thing a bit more, > well, graceful. > > -Original Message- > From: Lucas Galfaso [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 > &

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

2008-08-22 Thread COHEN, STEVEN M (ATTSI)
Yeah, that would work :-). I guess I was looking for something a bit more, well, graceful. -Original Message- From: Lucas Galfaso [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

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

2008-08-22 Thread Lucas Galfaso
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 an in

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 applicat