karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark S (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-1123) The osgi:uninstall command uninstalls a hot deploy xml file even though the osgi name does NOT match.
Date Thu, 22 Dec 2011 17:25:30 GMT
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
            Priority: Minor


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

        

Mime
View raw message