[jboss-jira] [JBoss JIRA] (AS7-6855) Bundle revision not removed when not in use any more

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Apr 9 02:25:42 EDT 2013


Thomas Diesler created AS7-6855:
-----------------------------------

             Summary: Bundle revision not removed when not in use any more
                 Key: AS7-6855
                 URL: https://issues.jboss.org/browse/AS7-6855
             Project: Application Server 7
          Issue Type: Bug
          Components: OSGi
            Reporter: Thomas Diesler
            Assignee: Thomas Diesler
             Fix For: 8.0.0.Alpha1


When a bundle that is in use gets undeployed through the mgmnt API the revision service goes down (which is in itself a problem) and bundle.uninstall() is called. Because the bundle is in use the revision is not removed from the environment, which is ok. 

Later, when the last user gets uninstalled we go through the BundleLifecycle.removeBundleRevision again, which fails to undeploy the stale revision because it was undeployed previously already. There is no code path the removes the revision from the environment in that case. 

--
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