[jboss-osgi-issues] [JBoss JIRA] Created: (JBOSGI-385) IllegalStateException when deploying & starting a bundle through web console

David Bosschaert (JIRA) jira-events at lists.jboss.org
Tue Aug 31 07:21:12 EDT 2010


IllegalStateException when deploying & starting a bundle through web console
----------------------------------------------------------------------------

                 Key: JBOSGI-385
                 URL: https://jira.jboss.org/browse/JBOSGI-385
             Project: JBoss OSGi
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Core Framework, jboss-osgi-webconsole
    Affects Versions: JBossOSGi 1.0.0 Beta8
            Reporter: David Bosschaert


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



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-osgi-issues mailing list