I found the solution. In the services.xml (that I had generated using maven 
wsdl2code command) did not have the scope="application". I had noticed it since 
the beginning but assumed it won't have any effect. Finally I gave up and 
introduced it

<serviceGroup>

    <service name="hehehe" scope="application">



And it worked. What a cruel behaviour.



--Kannan


________________________________
From: Kannan Jayaprakasam [mailto:[email protected]]
Sent: Tuesday, August 31, 2010 11:38 AM
To: [email protected]
Subject: Lifecycle service init doesn't get called.
Importance: High

I have an axis2 aar webservice deployed in Tomcat. My service implements 
org.apache.axis2.service.Lifecycle.
The serviceClass's init(ServiceContext) method doesn't at all get called. There 
is no error message seen in the tomcat logs what is going on. I only see a 
sentence in the Catalina logs that the application has been deployed. How am I 
to proceed? Please advice.

Thanks
Kannan

Reply via email to