Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5779

uninstall of pax-http-tomcat throws RemoveContextException

    XMLWordPrintable

Details

    • % %

    Description

      Spotted in fuse 6.3 builds #115, #129

      JBossFuse:karaf@root> features:install pax-http-tomcat
      
      JBossFuse:karaf@root> features:list | grep tomcat
      [installed  ] [4.2.7.redhat-001     ] pax-http-tomcat                               org.ops4j.pax.web-4.2.7.redhat-001     Provide Tomcat support
      [uninstalled] [4.2.7.redhat-001     ] pax-war-tomcat                                org.ops4j.pax.web-4.2.7.redhat-001     
      
      JBossFuse:karaf@root> features:uninstall pax-http-tomcat
      ERROR: Bundle org.ops4j.pax.web.pax-web-runtime [116] ServiceRegistrationImpl: Error ungetting service. (org.ops4j.pax.web.service.tomcat.internal.RemoveContextException: cannot remove the context because it does not exist: DefaultHttpContext [bundle=org.apache.cxf.cxf-rt-transports-http [118], contextID=default])
      org.ops4j.pax.web.service.tomcat.internal.RemoveContextException: cannot remove the context because it does not exist: DefaultHttpContext [bundle=org.apache.cxf.cxf-rt-transports-http [118], contextID=default]
      	at org.ops4j.pax.web.service.tomcat.internal.TomcatServerWrapper.removeContext(TomcatServerWrapper.java:414)
      	at org.ops4j.pax.web.service.tomcat.internal.ActiveServerState.removeContext(ActiveServerState.java:124)
      	at org.ops4j.pax.web.service.tomcat.internal.TomcatServerController.removeContext(TomcatServerController.java:94)
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.stop(HttpServiceStarted.java:164)
      	at org.ops4j.pax.web.service.internal.HttpServiceProxy.stop(HttpServiceProxy.java:97)
      	at org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl.ungetService(HttpServiceFactoryImpl.java:44)
      	at org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl.ungetService(HttpServiceFactoryImpl.java:26)
      	at org.apache.felix.framework.ServiceRegistrationImpl.ungetFactoryUnchecked(ServiceRegistrationImpl.java:361)
      	at org.apache.felix.framework.ServiceRegistrationImpl.ungetService(ServiceRegistrationImpl.java:270)
      	at org.apache.felix.framework.ServiceRegistry.ungetService(ServiceRegistry.java:407)
      	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:162)
      	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:128)
      	at org.ops4j.pax.web.service.internal.Activator.updateController(Activator.java:335)
      	at org.ops4j.pax.web.service.internal.Activator$3.run(Activator.java:294)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            jludvice Josef Ludvicek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: