public class VladimirServlet extends avax.servlet.http.HttpServlet
{
   public void init(javax.servlet.ServletConfig servletConfig) throws ServletException
   {
   }
} //end declaration ValidimirServlet
 
HTH
Martin--
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.
 

 
----- Original Message -----
Sent: Wednesday, July 12, 2006 1:06 PM
Subject: Re: Axis2 lazy init

Martin, i doesn´t no understand right. I´ve try put the init method in my service class. May you give more details. Where i put this init method, what the signature of this methot. I can call other classs from him, im my case is a Timer class. I need to do some alteration in tomcat? I put load-on-start to 1.
 
Thanks
 
Valmir

 
On 7/12/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
Vladimir-
 
When you reload/deploy the webapp the init() method will be called
You may do so thru the Tomcat manager interface-

Martin--
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.
 

 
----- Original Message -----
Sent: Wednesday, July 12, 2006 8:01 AM
Subject: Re: Axis2 lazy init

 
Hi Deepal,
 
I´ve try this, but the init method wasn´t called. I make deploy with application scope and put the init method on my service class but i haven´t success. You can give me more details.
 
Thanks,
 
Valmir

 
On 7/12/06, Deepal Jayasinghe <[EMAIL PROTECTED] > wrote:
When you deploy your service in application scope , when the server
start up init method will be called.

I juts implement that , and that is available in SVN now.

Valmir Macário wrote:

> Hi all,
>
> Axis2 only start service when is made a first call to one operation,
> but i need to start service as soon as the tomcat start, because a
> need initialize a Timer(). I´ve trying the methot: void init() throws
> AxisFault, in my service class but i don´t have success. I apreciate
> if someone can help-me to get this behaviour in my service.
>
> Thanks,
>
> Valmir


--
Thanks,
Deepal
..............................................................
~Future is Open~



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



Reply via email to