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