Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1123

The osgi:uninstall command uninstalls a hot deploy xml file even though the osgi name does NOT match.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.4
    • Fix Version/s: None
    • Component/s: karaf
    • Environment:

      ServiceMix 4.4.0
      Windows 7 (64-bit)

      Description

      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>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marks1900 Mark S
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified