Details
-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
None
Description
We see intermittent failures where a bundle cannot load a class from a dependent module
org.osgi.framework.BundleException: Cannot start bundle: bundle12:1.0.0
at org.jboss.osgi.framework.bundle.HostBundle.startInternal(HostBundle.java:243)
at org.jboss.osgi.framework.bundle.AbstractBundle.start(AbstractBundle.java:435)
at org.jboss.osgi.framework.bundle.BundleWrapper.start(BundleWrapper.java:166)
at org.jboss.as.osgi.xservice.ModuleAccessesOSGiServiceTestCase.testModuleInvokesTargetBundleService(ModuleAccessesOSGiServiceTestCase.java:179)
....
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: java.lang.NoClassDefFoundError: org/jboss/as/osgi/deployment/c/Echo
at org.jboss.as.osgi.deployment.b.TargetBundleActivator.start(TargetBundleActivator.java:33)
at org.jboss.osgi.framework.bundle.HostBundle.startInternal(HostBundle.java:205)
... 31 more
Investigate how the ModuleClassLoader is created and whether there are perhaps some race conditions involved