Re: Stop tomcat on Startup

2008-07-25 Thread afolli
Yes, I would love to throw an exception. Unfortunately, customer's request sometimes differ from developers desires. Alessandro Johnny Kewl wrote: > > > - Original Message ----- > From: "afolli" <[EMAIL PROTECTED]> > To: > Sent: Friday, Jul

RE: Stop tomcat on Startup

2008-07-25 Thread afolli
Thanks Peter. That is a lot easier than I thought :) Alessandro Peter Crowther wrote: > > How hard a stop do you want? The "Very Big Crowbar" would be a > System.exit(1)! > > - Peter > > -- View this message in context: http://www.nabble.com/Stop-tomcat-on-Startup-tp186

Stop tomcat on Startup

2008-07-25 Thread afolli
Hi All. I want to perform some checks on tomcat startup. If there is an error, I want to stop tomcat. I have defined a servlet and defined it as follow in the web.xml file in order to load it. StartUp Sta