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 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 my Application's init() method the > initialisation oft he Application should be stopped. Currently I call > > unset(); > internalDestroy(); > > But internalDestroy() should not be called from a user method. > > Stefan > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]