axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: Axis2 lazy init
Date Wed, 12 Jul 2006 12:25:28 GMT

When you reload/deploy the webapp the init() method will be called
You may do so thru the Tomcat manager interface-

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 ----- 
  From: Valmir Macário 
  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.



  On 7/12/06, Deepal Jayasinghe <> 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

    ~Future is Open~

    To unsubscribe, e-mail:
    For additional commands, e-mail: 

View raw message