[
https://issues.apache.org/jira/browse/KARAF-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré reassigned KARAF-1123:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> The osgi:uninstall command uninstalls a hot deploy xml file even though the
> osgi name does NOT match.
> -----------------------------------------------------------------------------------------------------
>
> Key: KARAF-1123
> URL: https://issues.apache.org/jira/browse/KARAF-1123
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.2.4
> Environment: ServiceMix 4.4.0
> Windows 7 (64-bit)
> Reporter: Mark S
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Labels: console, karaf, servicemix
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> I am using a bundled Karaf distribution with ServiceMix 4.4.0. The following
> best describes my situation.
> Example 1 (Uninstalls the Hot Deploy Xml file):
> * Delete all files in the "apache-servicemix-4.4.0\deploy" directory.
> * Drop "ace-file-converter-general.xml" file to
> "apache-servicemix-4.4.0\deploy" directory.
> karaf@root> osgi:list | grep ace
> karaf@root> osgi:list | grep ace
> [ 254] [Active ] [Created ] [ ] [ 60]
> ace-file-converter-general.xml (0.0.0)
> karaf@root> osgi:uninstall ace-file-converter
> karaf@root> osgi:list | grep ace
> karaf@root>
> karaf@root>
> Example 2 (Uninstalls the Hot Deploy Xml file and an OSGI Bundle):
> * Delete all files in the "apache-servicemix-4.4.0\deploy" directory.
> * Drop "ace-file-converter-general.xml" file to
> "apache-servicemix-4.4.0\deploy" directory.
> karaf@root> osgi:list | grep ace
> karaf@root> osgi:list | grep ace
> [ 255] [Active ] [Created ] [ ] [ 60]
> ace-file-converter-general.xml (0.0.0)
> karaf@root> osgi:install -s mvn:com.impactmobile/ace-file-converter/0.0.1
> Bundle ID: 256
> karaf@root> osgi:list | grep ace
> [ 255] [Active ] [Created ] [ ] [ 60]
> ace-file-converter-general.xml (0.0.0)
> [ 256] [Active ] [Created ] [ ] [ 60] ace-file-converter
> (0.0.1)
> karaf@root> osgi:uninstall ace-file-converter
> karaf@root> osgi:list | grep ace
> karaf@root>
> karaf@root>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira