Subject: | j4p-osgi-bundle throws ClassCastException in Activator.start() |
When deploying j4p-osgi-bundle on ServiceMix a ClassCastException is
thrown from Activator.start() (see stacktrace.txt).
I have tried both latest stable and development versions.
Versions:
Apache ServiceMix 4.2.0-fuse-01-00
jmx4perl 0.71 & 0.72_1
Subject: | stacktrace.txt |
11:53:08,065 | ERROR | 858791439955.tmp | webconsole | ? ? | Cannot install or update bundle from /tmp/install2584526858791439955.tmp
org.osgi.framework.BundleException: Exception in org.jmx4perl.osgi.bundle.Activator.start() of bundle org.jmx4perl.osgi.bundle.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)
at org.apache.felix.webconsole.internal.core.InstallHelper.doRun(InstallHelper.java:65)
at org.apache.felix.webconsole.internal.core.BaseUpdateInstallHelper.doRun(BaseUpdateInstallHelper.java:79)
at org.apache.felix.webconsole.internal.core.BaseUpdateInstallHelper.run(BaseUpdateInstallHelper.java:112)
Caused by: java.lang.ClassCastException: org.ops4j.pax.web.service.jetty.internal.ServerControllerFactoryImpl cannot be cast to org.ops4j.pax.web.service.spi.ServerControllerFactory
at org.ops4j.pax.web.service.internal.Activator.createServerController(Activator.java:111)
at org.ops4j.pax.web.service.internal.Activator.start(Activator.java:69)
at org.ops4j.pax.web.service.jetty.internal.CompositeActivator.start(CompositeActivator.java:46)
at org.jmx4perl.osgi.bundle.Activator.start(Activator.java:57)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
... 7 more