IllegalStateException during stop
During stop, I have the following trace:
org.ow2.util.ee.deploy.api.deployer.DeployerException: Cannot undeploy the War 'WARDeployableImpl[archive=/opt/jonas-full-5.3.0-M4/repositories/maven2-internal/org/ow2/jonas/jonas-ctxroot/5.3.0-M4/jonas-ctxroot-5.3.0-M4.war]'. at org.ow2.jonas.web.base.WARDeployer.doUndeploy(WARDeployer.java:106) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$2.execute(AbsDeployer.java:121) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$2.execute(AbsDeployer.java:119) at org.ow2.util.execution.helper.RunnableHelper.execute(RunnableHelper.java:77) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer.undeploy(AbsDeployer.java:119) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer.stop(AbsDeployer.java:143) at org.ow2.jonas.web.base.BaseWebContainerService.doStop(BaseWebContainerService.java:427) at org.ow2.jonas.web.tomcat7.Tomcat7Service.__doStop(Tomcat7Service.java:440) at org.ow2.jonas.web.tomcat7.Tomcat7Service.doStop(Tomcat7Service.java) at org.ow2.jonas.lib.service.AbsServiceImpl.stop(AbsServiceImpl.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.felix.ipojo.util.Callback.call(Callback.java:237) at org.apache.felix.ipojo.util.Callback.call(Callback.java:193) at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallback.call(LifecycleCallback.java:86) at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.__stateChanged(LifecycleCallbackHandler.java:162) at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.stateChanged(LifecycleCallbackHandler.java) at org.apache.felix.ipojo.InstanceManager.setState(InstanceManager.java:483) at org.apache.felix.ipojo.InstanceManager.stop(InstanceManager.java:372) at org.apache.felix.ipojo.InstanceManager.dispose(InstanceManager.java:416) at org.apache.felix.ipojo.IPojoFactory.stop(IPojoFactory.java:537) at org.apache.felix.ipojo.Extender.closeManagementFor(Extender.java:157) at org.apache.felix.ipojo.Extender.bundleChanged(Extender.java:129) at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatcher.java:800) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:797) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3879) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2268) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1215) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.IllegalStateException: Cannot find OSGi service org.osgi.service.http.HttpService at org.ow2.jonas.web.tomcat7.Tomcat7Service.__getService(Tomcat7Service.java:1645) at org.ow2.jonas.web.tomcat7.Tomcat7Service.getService(Tomcat7Service.java) at org.ow2.jonas.web.tomcat7.Tomcat7Service.__addDummyContextRoot(Tomcat7Service.java:1580) at org.ow2.jonas.web.tomcat7.Tomcat7Service.addDummyContextRoot(Tomcat7Service.java) at org.ow2.jonas.web.tomcat7.Tomcat7Service.__doUnRegisterWar(Tomcat7Service.java:1062) at org.ow2.jonas.web.tomcat7.Tomcat7Service.doUnRegisterWar(Tomcat7Service.java) at org.ow2.jonas.web.base.BaseWebContainerService.unRegisterWar(BaseWebContainerService.java:1595) at org.ow2.jonas.web.base.BaseWebContainerService.unRegisterWar(BaseWebContainerService.java:1668) at org.ow2.jonas.web.base.WARDeployer.doUndeploy(WARDeployer.java:104) ... 34 more