Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: [OT] Tomcat setup / config (System.exit if exception thrown)

Lisa

2007-02-13

Replies:


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
>
>

--
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.