[
https://jira.jboss.org/browse/JBOSGI-387?page=com.atlassian.jira.plugin.s...
]
David Bosschaert edited comment on JBOSGI-387 at 9/3/10 4:23 AM:
-----------------------------------------------------------------
I've added a test to refresh an uninstalled bundle via JMX, so it seems like it works.
Should we close this?
The test is here:
http://github.com/jbosgi/jbosgi/commit/5dddca950d43fc1362f8b5f9fd9220d757...
was (Author: bosschaert):
I've added a test to refresh an uninstalled bundle via JMX, so it seems like it
work. Should we close this?
The test is here:
http://github.com/jbosgi/jbosgi/commit/5dddca950d43fc1362f8b5f9fd9220d757...
Potential problem with refreshing uninstalled bundles via JMX
-------------------------------------------------------------
Key: JBOSGI-387
URL:
https://jira.jboss.org/browse/JBOSGI-387
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jboss-osgi-jmx
Affects Versions: JBossOSGi 1.0.0 Beta8
Reporter: David Bosschaert
Assignee: David Bosschaert
Separated comment out of JBOSGI-336:
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 nulll 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