On Wed, Jan 28, 2009 at 1:27 AM, Jason Wells <[email protected]> wrote: > Hi, > I have an Axis2 1.4.1 service in Tomcat 6 deployed at transport session > scope. It implements Lifecycle and ServiceLifeCycle. When I hit the > service for the first time, I can see init() gets called. However, neither > startUp(), shutDown() nor destroy() ever get called, not even when I let the > session time out or shut down Tomcat. What am I missing? >
you need to set ServiceLifeCycle as follows <service name="POJOService" class="test.kp.service.TestServiceLifeCycle"> in the services.xml ServiceLifeCycle actually refers to AxisService Object life cycle. thanks, Amila. > > Thanks, > Jason > > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
