[
https://issues.apache.org/activemq/browse/SMX4KNL-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49133#action_49133
]
Guillaume Nodet commented on SMX4KNL-140:
-----------------------------------------
Sending itests/pom.xml
Sending
itests/src/test/java/org/apache/servicemix/kernel/gshell/itests/CoreTest.java
Sending
itests/src/test/resources/org/apache/servicemix/kernel/gshell/itests/MANIFEST.MF
Transmitting file data ...
Committed revision 741050.
> 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
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: 1.1.0
>
>
> 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:
> s...@cgcmac1: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.