OSGi bundles cannot load org.jboss.logging.Logger
-------------------------------------------------
Key: AS7-2384
URL:
https://issues.jboss.org/browse/AS7-2384
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Priority: Blocker
Fix For: 7.1.0.Beta1
With jboss-modules-1.1.0.Beta4 we get
{code}
09:50:10,515 ERROR [org.jboss.osgi.framework.internal.FrameworkEventsPlugin] (MSC service
thread 1-1) Framework ERROR: org.osgi.framework.BundleException: Cannot start bundle:
jboss-osgi-jmx:1.0.10
at
org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:328)
[jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
at
org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:223)
[jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
at
org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:494)
[jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
at
org.jboss.osgi.framework.internal.StartLevelPlugin.increaseStartLevel(StartLevelPlugin.java:257)
[jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
at org.jboss.osgi.framework.internal.FrameworkActive.start(FrameworkActive.java:93)
[jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_27]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_27]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
Caused by: java.lang.NoClassDefFoundError: org/jboss/logging/Logger
at
org.jboss.osgi.jmx.internal.JMXServiceActivator.<clinit>(JMXServiceActivator.java:48)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_27]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[:1.6.0_27]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[:1.6.0_27]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_27]
at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_27]
at java.lang.Class.newInstance(Class.java:308) [:1.6.0_27]
at
org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:294)
[jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
... 9 more
Caused by: java.lang.ClassNotFoundException: org.jboss.logging.Logger from [Module
"deployment.jboss-osgi-jmx:1.0.10" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
[jboss-modules.jar:1.1.0.Beta4]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485)
[jboss-modules.jar:1.1.0.Beta4]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444)
[jboss-modules.jar:1.1.0.Beta4]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421)
[jboss-modules.jar:1.1.0.Beta4]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143)
[jboss-modules.jar:1.1.0.Beta4]
... 17 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira