[jboss-jira] [JBoss JIRA] (AS7-1888) IllegalStateException when deploying & starting a bundle through web console

David Bosschaert (Resolved) (JIRA) jira-events at lists.jboss.org
Mon Oct 10 09:01:20 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert resolved AS7-1888.
-----------------------------------

    Resolution: Cannot Reproduce Bug


Following the same steps as before, I am not able to reproduce this problem any more.
                
> IllegalStateException when deploying & starting a bundle through web console
> ----------------------------------------------------------------------------
>
>                 Key: AS7-1888
>                 URL: https://issues.jboss.org/browse/AS7-1888
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 7.1.0.Beta1
>
>
> 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, 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

        


More information about the jboss-jira mailing list