How to abort Application initialization

2008-09-21 Thread Stefan Lindner
Whichis the correct way to terminate the Itialisation of an application? When a fatal error occurs in my Application's init() method the initialisation oft he Application should be stopped. Currently I call unset(); internalDestroy(); But internalDestroy()

Re: How to abort Application initialization

2008-09-21 Thread Johan Compagner
What happens if you just throw a servletexcpetion? Then an app server should just terminate that webapp, dont know if it will call destroy... On 9/21/08, Stefan Lindner [EMAIL PROTECTED] wrote: Whichis the correct way to terminate the Itialisation of an application? When a fatal error occurs in

AW: How to abort Application initialization

2008-09-21 Thread Stefan Lindner
Thank you! -Ursprüngliche Nachricht- Von: Johan Compagner [mailto:[EMAIL PROTECTED] Gesendet: Montag, 22. September 2008 00:33 An: users@wicket.apache.org Betreff: Re: How to abort Application initialization What happens if you just throw a servletexcpetion? Then an app server should