[jboss-jira] [JBoss JIRA] (AS7-5854) JBOSGI011210: Bundle already uninstalled when a bundle is undeployed, then redeployed in same session

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Nov 6 17:57:18 EST 2012


    [ https://issues.jboss.org/browse/AS7-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732304#comment-12732304 ] 

Thomas Diesler commented on AS7-5854:
-------------------------------------

An isolated test case does not reproduce this. 
See pull request [#3410|https://github.com/jbossas/jboss-as/pull/3410]

If you still think this is a bug we would need to work on a test case that can reproduce it.

                
> JBOSGI011210: Bundle already uninstalled when a bundle is undeployed, then redeployed in same session
> -----------------------------------------------------------------------------------------------------
>
>                 Key: AS7-5854
>                 URL: https://issues.jboss.org/browse/AS7-5854
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: OSGi
>    Affects Versions: 7.2.0.Alpha1
>         Environment: Windows XP Professional
> Oracle JDK 1.6.0_32
> JBoss AS 7.2.0.Alpha1 build from master 24/10/2012
>            Reporter: Ed Roberts
>            Assignee: Thomas Diesler
>             Fix For: 7.2.0.Alpha1
>
>
> I start up JBoss AS with some bundles. I stop one of them by deleting the corresponding .deployed file. I then restart it by deleting the corresponding .undeployed file. If I was using the Felix Web Console at all times to look at the meta-typed configuration for the service in this bundle, when the bundle is finally redeployed, a refresh of the configuration page caused an exception
> {code}
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) java.lang.IllegalStateException: JBOSGI011210: Bundle already uninstalled: vcs-configuration-jboss-svc:1.0.0.SNAPSHOT
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.jboss.osgi.framework.internal.AbstractBundleState.assertNotUninstalled(AbstractBundleState.java:649)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.jboss.osgi.framework.internal.UserBundleRevision.getEntry(UserBundleRevision.java:138)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.jboss.osgi.framework.internal.AbstractBundleState.getEntry(AbstractBundleState.java:463)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.metatype.internal.l10n.BundleResources.loadProperties(BundleResources.java:166)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.metatype.internal.l10n.BundleResources.getResources(BundleResources.java:144)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.metatype.internal.l10n.BundleResources.getResources(BundleResources.java:84)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.metatype.DefaultMetaTypeProvider.getObjectClassDefinition(DefaultMetaTypeProvider.java:172)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.metatype.internal.MetaTypeInformationImpl.getObjectClassDefinition(MetaTypeInformationImpl.java:125)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.webconsole.internal.compendium.ConfigManagerBase.getObjectClassDefinition(ConfigManagerBase.java:208)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.webconsole.internal.compendium.ConfigManager.getServices(ConfigManager.java:487)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.webconsole.internal.compendium.ConfigManager.listConfigurations(ConfigManager.java:379)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.webconsole.internal.compendium.ConfigManager.renderContent(ConfigManager.java:295)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:147)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.webconsole.internal.compendium.ConfigManager.doGet(ConfigManager.java:239)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:437)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:384)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at java.lang.reflect.Method.invoke(Method.java:597)
> 2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.ops4j.pax.web.service.internal.HttpServiceStarted$2.invoke(HttpServiceStarted.java:209)
> 2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.ops4j.pax.web.service.internal.$Proxy35.service(Unknown Source)
> 2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
> 2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
> 2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
> 2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> 2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:74)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.Server.handle(Server.java:345)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
> 2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) 	at java.lang.Thread.run(Thread.java:662)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list