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

Cannot uninstall bundle, bundle xx is invalid

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.4, 4.0.0.M3
    • Component/s: karaf
    • Labels:
      None

      Description

      Karaf marks a bundle as installed and active, but I can't uninstall it, stop it.

      karaf@root()> list -t 0 -s | grep pool
      [1295] [    Active] [   50] org.apache.commons.pool (1.6.0)
      karaf@root()> uninstall 1295
      Bundle 1295 is invalid
      No bundles specified.
      karaf@root()> uninstall 1295
      Bundle 1295 is invalid
      No bundles specified.
      karaf@root()> list -t 0 -s | grep pool
      [1295] [    Active] [   50] org.apache.commons.pool (1.6.0)
      karaf@root()> uninstall org.apache.commons.pool
      No bundles specified.
      karaf@root()> list -t 0 -s | grep pool
      [1295] [    Active] [   50] org.apache.commons.pool (1.6.0)
      karaf@root()> stop 1295
      Bundle 1295 is invalid
      No bundles specified.
      

      Workaround: Delete folder karaf/data/cache/bundle1295

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                ceefour Hendy Irawan
              • Votes:
                11 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: