Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DB7910CE5 for ; Fri, 23 Jan 2015 21:20:44 +0000 (UTC) Received: (qmail 82675 invoked by uid 500); 23 Jan 2015 21:17:04 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 78549 invoked by uid 500); 23 Jan 2015 21:17:02 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 74595 invoked by uid 99); 23 Jan 2015 21:04:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2015 21:04:36 +0000 Date: Fri, 23 Jan 2015 21:04:36 +0000 (UTC) From: "Achim Nierbeck (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-1729) Cannot uninstall bundle, bundle xx is invalid MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-1729?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1428= 9972#comment-14289972 ]=20 Achim Nierbeck commented on KARAF-1729: --------------------------------------- [~dosgiuser], so you are telling us all of your devs are killing the Karaf = instance every day???? As far as I got from the other feedback so far the invalid state is after k= illing the server.=20 Which for me is a bad habbit. Never the less the framework shouldn't leave = those bundles in a messed up state.=20 But this needs to be addressed by either the felix framework or the equinox= one.=20 If this happens without killing the karaf instances we need to look also fo= r something else. Like, do you really have 500+ bundles running? > Cannot uninstall bundle, bundle xx is invalid > --------------------------------------------- > > Key: KARAF-1729 > URL: https://issues.apache.org/jira/browse/KARAF-1729 > Project: Karaf > Issue Type: Bug > Components: karaf-osgi > Affects Versions: 3.0.0 > Reporter: Hendy Irawan > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 4.0.0, 3.0.3 > > Attachments: karaf-invalid-bundle.tgz > > > Karaf marks a bundle as installed and active, but I can't uninstall it, s= top it. > {code} > 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. > {code} > Workaround: Delete folder karaf/data/cache/bundle1295 -- This message was sent by Atlassian JIRA (v6.3.4#6332)