You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Duma Rolando <r....@urmetsistemi.it> on 2002/10/09 13:37:39 UTC

PlugIn init method called twice?

I wrote a PlugIn for my webapp and I notice that the init method is called
twice.Is this possible?
tia


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: PlugIn init method called twice?

Posted by phpsurf <ph...@ifrance.com>.
don't you have two different modules declaring the same plugin ?
the plugins are called once per module where they are declared ...
maybe this can help

> -----Original Message-----
> From: Matt Veitas [mailto:mveitas@objectsciences.com]
> Sent: mercredi 9 octobre 2002 15:43
> To: Struts Users Mailing List
> Subject: Re: PlugIn init method called twice?
>
>
> Usually this sort of thing happens due to an error somewhere on startup.
> Check the log files in your servlet container for more detail about any
> errors.
>
> Matt
>
> Duma Rolando wrote:
>
> >I wrote a PlugIn for my webapp and I notice that the init method
> is called
> >twice.Is this possible?
> >tia
> >
> >
> >--
> >To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> >
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

______________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut Dibit soit 150,92 euros
d'iconomies ! Clique ici : http://www.ifrance.com/_reloc/mail.etudiant

______________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut D�bit soit 150,92 euros
d'�conomies ! Clique ici : http://www.ifrance.com/_reloc/mail.etudiant 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: PlugIn init method called twice?

Posted by Matt Veitas <mv...@objectsciences.com>.
Usually this sort of thing happens due to an error somewhere on startup. 
Check the log files in your servlet container for more detail about any 
errors.

Matt

Duma Rolando wrote:

>I wrote a PlugIn for my webapp and I notice that the init method is called
>twice.Is this possible?
>tia
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>  
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: PlugIn init method called twice?

Posted by Eddie Bush <ek...@swbell.net>.
You don't have two sub-apps which both reference it, do you? ;-)  You'll 
be doing init twice then for sure :-) but hopefully you've written it so 
it won't "trample" over itself.

Duma Rolando wrote:

>I wrote a PlugIn for my webapp and I notice that the init method is called
>twice.Is this possible?
>tia
>
-- 
Eddie Bush




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>