Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
None
Description
When installing a bundle through the web console and ticking the start tickbox as well, it often generates an exception (see below). It is probably related to the fact that if you don't select the start tickbox, the bundle gets started anyway. With the tickbox enabled it seems like the system is trying to start the bundle twice concurrently.
org.apache.felix.log.LogException: org.osgi.framework.BundleException: Cannot start bundle: exporting-bundle:0.0.0
at org.jboss.osgi.container.bundle.HostBundle.startInternal(HostBundle.java:239)
at org.jboss.osgi.container.bundle.AbstractBundle.start(AbstractBundle.java:478)
at org.jboss.osgi.container.plugin.internal.StartLevelPluginImpl$3.run(StartLevelPluginImpl.java:162)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalStateException: BundleContext already available
at org.jboss.osgi.container.bundle.AbstractBundle.createBundleContext(AbstractBundle.java:170)
at org.jboss.osgi.container.bundle.HostBundle.startInternal(HostBundle.java:179)
... 5 more