Hi Michele,

I tried ServiceLifeCycle interface, and it works fine.

Thanks for your help.

Regards,

Rui Torres
 

-----Original Message-----
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 13, 2007 9:24 AM
To: axis-user@ws.apache.org
Subject: RE: How to get information at startup of tomcat

You can use the ServiceLifeCycle interface.


Michele

On Wed, 2007-06-13 at 09:08 +0100, Michele Mazzucco wrote:
> Rui,
> 
> according to this [1] you're right. I'd suggest you to search through 
> the old posts. I remember some discussions about this issues.
> 
> 
> Michele
> 
> [1] http://wso2.org/library/163
> 
> On Tue, 2007-06-12 at 18:07 +0100, [EMAIL PROTECTED] wrote:
> > Yes, I am sure.
> > 
> > If you modify the scope to "request", the method init will be 
> > executed each time that the webservice is invoked.
> > 
> > Is it normal this behaviour?
> > 
> > Rui Torres
> >  
> > 
> > -----Original Message-----
> > From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, June 12, 2007 5:54 PM
> > To: axis-user@ws.apache.org
> > Subject: RE: How to get information at startup of tomcat
> > 
> > On Tue, 2007-06-12 at 17:26 +0100, [EMAIL PROTECTED] wrote:
> > > With this modification, each time a request is done the init 
> > > method is
> > 
> > > invoked, and I want that it will be only invoked one time.
> > 
> > Are you sure?, those methods should be called only once.
> > 
> > Michele
> > 
> > 
> > --------------------------------------------------------------------
> > - 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]
> > 
> 
> 
> ---------------------------------------------------------------------
> 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to