So how do I detect that an exception is thrown when Tomcat starts up?
thanks
L
Lisa wrote:
>
> I want to shut down everything and prevent everyone from being able to get
> anything accomplished. If I could blow blue smoke out the back of the
> machine, I would. will work on an API and attachment for this.
>
> L
>
>
> reno-2 wrote:
>>
>> Le mercredi 07 février 2007 à 23:17 -0800, Lisa a écrit :
>>
>>> When starting up Tomcat, I would like to do a System.exit() if an
>>> exception
>>> of any kind is thrown. Is there a way to configure this? We are using
>>> a
>>> large number of frameworks (Spring, Hibernate, log4j) and I want the
>>> developers to pay attention right away if there is something wrong and
>>> to
>>> get it fixed rather than ignoring them (or missing them).
>>
>> System.exit() is a bit radical...
>> Why don't you send a mail to everyone when an exception is thrown with
>> the exception?
>>
>>>
>>> I want to shut things down hard and fast if something is wrong during
>>> development and force everyone to throw their hands up and be stuck (and
>>> make noise) until it is fixed.
>>>
>>> Any ideas would be appreciated.
>>>
>>>
>>> L
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Tomcat-setup---config-%28System.exit-if-exception-thrown%29-tf3191721.html#a8939043
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]