users@glassfish.java.net

Re: Load on start up servlet initializing two times

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Thu, 18 Jun 2009 13:39:57 -0700

On 06/18/09 02:49 AM, glassfish_at_javadesktop.org wrote:
> Hello,
>
>
> Override the destroy() method of the servlet and try to output a log message in this method to see if your servlet is removed from service between the two "initializing" messages.
> Hopes this will help you.
>

Actually, the user's init method is not implemented correctly: It is
missing a call to

  super.init(config);


Jan

>
> Bye
> [Message sent by forum member 'vkoniecz' (vkoniecz)]
>
> http://forums.java.net/jive/thread.jspa?messageID=351800
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>