[jboss-osgi-issues] [JBoss JIRA] Created: (JBOSGI-383) Cannot refresh uninstalled bundle through JMX

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Aug 19 02:02:11 EDT 2010


Cannot refresh uninstalled bundle through JMX 
----------------------------------------------

                 Key: JBOSGI-383
                 URL: https://jira.jboss.org/browse/JBOSGI-383
             Project: JBoss OSGi
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jboss-osgi-jmx
            Reporter: Thomas Diesler
             Fix For:  JBossOSGi 1.0.x


I noticed that there might be an issue with FrameworkMBean.refreshBundles(long[] bundleIds). The Aries implementation delegates to PackageAdmin.refreshPackages, for which it needs an Bundle[]. BundleContext.getBundle(long bundleId) would however return null for already uninstalled bundles. As a result it seems that you cannot refresh a bundle that is already uninstalled. 

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