GShell commands references not cleaned up when bundle uninstalled
-----------------------------------------------------------------
Key: SMX4KNL-140
URL: https://issues.apache.org/activemq/browse/SMX4KNL-140
Project: ServiceMix Kernel
Issue Type: Bug
Affects Versions: 1.1.0
Reporter: Chris Custine
Priority: Minor
When a gshell command bundle is updated or uninstalled/installed, there is a
reference to the previously installed command service somewhere. When you rn
the command after the resinstall or update, you get something like the
following error:
[EMAIL PROTECTED]:sigar> help
ERROR CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException:
org.springframework.osgi.service.ServiceUnavailableException: service with
id=[72] unavailable
In this case, service ID 72 refers to the original service for this command.
I assume that the command registry has a stale reference to the original
service. This isn't a major issue since reinstallation of command bundles will
mostly be a developer issue, but documenting it here as a reminder.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.