Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C7A46200D27 for ; Wed, 25 Oct 2017 09:46:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C61A11609E5; Wed, 25 Oct 2017 07:46:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 17895160BDA for ; Wed, 25 Oct 2017 09:46:05 +0200 (CEST) Received: (qmail 50433 invoked by uid 500); 25 Oct 2017 07:46:04 -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 50393 invoked by uid 99); 25 Oct 2017 07:46:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2017 07:46:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 875DCC582E for ; Wed, 25 Oct 2017 07:46:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id MRx_ob670Dfl for ; Wed, 25 Oct 2017 07:46:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 162525FB4E for ; Wed, 25 Oct 2017 07:46:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0F322E0E4A for ; Wed, 25 Oct 2017 07:46:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3F827212F9 for ; Wed, 25 Oct 2017 07:46:00 +0000 (UTC) Date: Wed, 25 Oct 2017 07:46:00 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-5299) fragment bundle not bound to its host when using the command bundle:install MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 25 Oct 2017 07:46:07 -0000 [ https://issues.apache.org/jira/browse/KARAF-5299?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1621= 8218#comment-16218218 ]=20 Guillaume Nodet commented on KARAF-5299: ---------------------------------------- This looks like the expected behavior to me. That's what the OSGi specification says should happen, so there's not much = to do here. When installing bundles using the {{bundle:install}} command, you need to p= erform a {{bundle:refresh}} at the end. Deploy bundles using features or t= he {{deploy}} directory will do that for you though. > fragment bundle not bound to its host when using the command bundle:insta= ll > -------------------------------------------------------------------------= -- > > Key: KARAF-5299 > URL: https://issues.apache.org/jira/browse/KARAF-5299 > Project: Karaf > Issue Type: Bug > Affects Versions: 4.1.2 > Reporter: Nicolas Brasey > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 4.1.3 > > > When installing a fragment bundle with the command bundle:install, the fr= agment does not get bound to its host. The fragment is bound correctly afte= r a restart of karaf. > Workaround: > Install the fragment bundle with the deploy directory. > EDIT: > I did more tests, and found another inconsistency when uninstalling the f= ragment. So here a more detailed scenario: > When installing the fragment: > a) the fragment is not automatically bound to the host > b) Then, if I update the host, the fragment is bound correctly (Like Achi= m suggested) > When uninstalling the fragment: > a) the host is still bound to the fragment, see below. As you can see, t= he host bundle id 279 is bound to the fragments bundle id 280 which is not = there any more =20 > {code} > 279 =E2=94=82 Active =E2=94=82 80 =E2=94=82 1.10.0.SNAPSHOT = =E2=94=82 dms-profiles-mgmt-impl, Fragments: 280 > karaf@root()> =20 > {code} > b) Then, if I update the host, the fragment is still bound. -- This message was sent by Atlassian JIRA (v6.4.14#64029)