Alias [/cxf] was never registered

Solution Verified - Updated -

Issue

I am working on migrating Jboss Fuse 6.1 to 6.3, getting below error

ERROR | lixDispatchQueue | cxf-rt-transports-http           | 165 - org.apache.cxf.cxf-rt-transports-http - 3.1.5.redhat-630187 | FrameworkEvent ERROR - org.apache.cxf.cxf-rt-transports-http
java.lang.IllegalArgumentException: Alias [/cxf] was never registered
    at org.ops4j.pax.web.service.internal.HttpServiceStarted.unregister(HttpServiceStarted.java:278)[246:org.ops4j.pax.web.pax-web-runtime:4.3.0]
    at org.ops4j.pax.web.service.internal.HttpServiceProxy.unregister(HttpServiceProxy.java:77)[246:org.ops4j.pax.web.pax-web-runtime:4.3.0]
    at org.apache.cxf.transport.http.osgi.ServletExporter.updated(ServletExporter.java:54)[165:org.apache.cxf.cxf-rt-transports-http:3.1.5.redhat-630187]
    at org.apache.cxf.transport.http.osgi.HttpServiceTrackerCust.removedService(HttpServiceTrackerCust.java:52)[165:org.apache.cxf.cxf-rt-transports-http:3.1.5.redhat-630187]
    at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:956)[karaf.jar:2.4.0.redhat-630187]
    at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1)[karaf.jar:2.4.0.redhat-630187]
    at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)[karaf.jar:2.4.0.redhat-630187]
    at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:902)[karaf.jar:2.4.0.redhat-630187]
    at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:943)[org.apache.felix.framework-4.4.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:794)[org.apache.felix.framework-4.4.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)[org.apache.felix.framework-4.4.1.jar:]
    at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4445)[org.apache.felix.framework-4.4.1.jar:]
    at org.apache.felix.framework.Felix.access$000(Felix.java:77)[org.apache.felix.framework-4.4.1.jar:]
    at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:404)[org.apache.felix.framework-4.4.1.jar:]
    at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:153)[org.apache.felix.framework-4.4.1.jar:]
    at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:128)[org.apache.felix.framework-4.4.1.jar:]
    at org.ops4j.pax.web.service.internal.Activator.updateController(Activator.java:336)[246:org.ops4j.pax.web.pax-web-runtime:4.3.0]
    at org.ops4j.pax.web.service.internal.Activator$2.run(Activator.java:286)[246:org.ops4j.pax.web.pax-web-runtime:4.3.0]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0]
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0]
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0]
    at java.lang.Thread.run(Thread.java:722)[:1.7.0]

Environment

  • Red Hat JBoss Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content