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
-----Original Message-----
From: Kannan Jayaprakasam [mailto:[email protected]]
Sent: Tuesday, August 31, 2010 11:25 AM
To: Tomcat Users List
Subject: RE: Service doesn't get inited.
My service implements org.apache.axis2.service.Lifecycle.
This is an axis2 aar file, so it won't directly have an entry in web.xml, but
only have a services.xml inside the aar archive, and this archive sits in
webapps\axis2\WEB-INF\services. Other services (aar) in the services folder get
started.
I don't think this information will help, but I'm using Tomcat 5.5 on Windows
Xp, as a windows service.
(Sorry, I probably should be asking this on axis2 user list, but subscription
to their list fails).
Thanks,
Kannan
-----Original Message-----
From: Ben Souther [mailto:[email protected]]
Sent: Tuesday, August 31, 2010 12:34 AM
To: Tomcat Users List
Subject: Re: Service doesn't get inited.
Does your service implement ServiceLifecycle?
I believe the init method is part of that interface.
On Mon, 2010-08-30 at 10:33 -0700, Kannan Jayaprakasam wrote:
> I have an axis2 aar webservice deployed in Tomcat. 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
---------------------------------------------------------------------
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]