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 DFF9217FEB for ; Sun, 25 Jan 2015 18:03:34 +0000 (UTC) Received: (qmail 70387 invoked by uid 500); 25 Jan 2015 18:03:35 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 70339 invoked by uid 500); 25 Jan 2015 18:03:35 -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 70326 invoked by uid 99); 25 Jan 2015 18:03:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2015 18:03:35 +0000 Date: Sun, 25 Jan 2015 18:03:34 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (KARAF-3440) Command "refresh bundleId" doesn't work 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-3440?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 reassigned KARAF-3440: ------------------------------------------- Assignee: Jean-Baptiste Onofr=C3=A9 > Command "refresh bundleId" doesn't work > --------------------------------------- > > Key: KARAF-3440 > URL: https://issues.apache.org/jira/browse/KARAF-3440 > Project: Karaf > Issue Type: Bug > Components: karaf-osgi, karaf-shell > Affects Versions: 2.4.1, 2.3.9 > Environment: Windows 7 with Java 1.7.0_65 and MaxOS with Java 1.8 > Reporter: Giuseppe Gerla > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Minor > > I have a bundle "Sample Dependent" that depends from a bundles "Sample De= pendency". I install both bundle in karaf and they go in Active state.=20 > karaf@root> list > START LEVEL 100 , List Threshold: 50 > ID State Blueprint Level Name > [ 54] [Active ] [ ] [ 80] Sample Dependency Bundle (1.0= .0.SNAPSHOT) > [ 55] [Active ] [ ] [ 80] Sample Dependent Bundle (1.0.= 0.SNAPSHOT) > karaf@root> uninstall 54 > karaf@root> list > START LEVEL 100 , List Threshold: 50 > ID State Blueprint Level Name > [ 55] [Active ] [ ] [ 80] Sample Dependent Bundle (1.0.= 0.SNAPSHOT) > karaf@root> refresh 55 > karaf@root> list > START LEVEL 100 , List Threshold: 50 > ID State Blueprint Level Name > [ 55] [Active ] [ ] [ 80] Sample Dependent Bundle (1.0.= 0.SNAPSHOT) > karaf@root> refresh > karaf@root> list > START LEVEL 100 , List Threshold: 50 > ID State Blueprint Level Name > [ 55] [Installed ] [ ] [ 80] Sample Dependent Bundle (1.0.= 0.SNAPSHOT) > As you can see, after refresh Sample Dependent Bundle, this is still in A= ctive (resolved) state. > Only using the global refresh the Sample Dependent Bundle goes in Install= ed (not resolved) state > Additional information: > 1) The same wrong behavior using "refresh packages" button in the specifi= c bundle page of webconsole. All works fine using global "refresh packages"= button from bundles pages. > 2) I create a feature for "Sample Dependency Bundle" and another for "Sam= ple Dependent Bundle" that install also the other feature. > In this case if I uninstall the "Sample Dependency Bundle" feature Karaf = remove the bundle from cache folder and refresh correctly the state of "Sam= ple Dependent Bundle" in not resolved. -- This message was sent by Atlassian JIRA (v6.3.4#6332)