You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Nicolas Brasey <ni...@gmail.com> on 2017/08/09 14:25:48 UTC

fragment not bound to its host (karaf v.4.1.2)

Hi,

I have a fragment bundle which does not get attached to its host when using
the command bundle:install. It gets bound correctly if I drop the bundle in
the deploy directory.

Should I open a Jira ?

Thanks,
Nicolas

Re: fragment not bound to its host (karaf v.4.1.2)

Posted by Nicolas Brasey <ni...@gmail.com>.
I did more tests after Achim comments, on the 4.1.2

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 Achim
suggested)

When uninstalling the fragment:
a)  the host is still bound to the fragment, see below. As you can see, the
host bundle id 279 is bound to the fragments bundle id 280 which is not
there any more

279 │ Active │  80 │ 1.10.0.SNAPSHOT                    │
dms-profiles-mgmt-impl, Fragments: 280
karaf@root()>

b) Then, if I update the host, the fragment is still bound.


I will update the jira with this description.

Best regards,
Nicolas



On Wed, Aug 9, 2017 at 6:39 PM, Achim Nierbeck <bc...@googlemail.com>
wrote:

> Hmm ..
> usually you have to refresh the host bundle for that.
> Did we add such a functionality in the past to the bundle:install command?
> I thought that one is a inherited one....
>
> regards, Achim
>
>
> 2017-08-09 17:20 GMT+02:00 Nicolas Brasey <ni...@gmail.com>:
>
>> It worked on 4.0.8 but I did not try on 4.1.1.
>>
>> Here is the jira:
>> https://issues.apache.org/jira/browse/KARAF-5299
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Aug 9, 2017 at 4:35 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>
>> wrote:
>>
>>> Yes, please.
>>>
>>> Did it work on 4.1.1 ?
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 08/09/2017 04:25 PM, Nicolas Brasey wrote:
>>>
>>>> Hi,
>>>>
>>>> I have a fragment bundle which does not get attached to its host when
>>>> using the command bundle:install. It gets bound correctly if I drop the
>>>> bundle in the deploy directory.
>>>>
>>>> Should I open a Jira ?
>>>>
>>>> Thanks,
>>>> Nicolas
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>
>>
>
>
> --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> blog <http://notizblog.nierbeck.de/>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
> Software Architect / Project Manager / Scrum Master
>
>

Re: fragment not bound to its host (karaf v.4.1.2)

Posted by Achim Nierbeck <bc...@googlemail.com>.
Hmm ..
usually you have to refresh the host bundle for that.
Did we add such a functionality in the past to the bundle:install command?
I thought that one is a inherited one....

regards, Achim


2017-08-09 17:20 GMT+02:00 Nicolas Brasey <ni...@gmail.com>:

> It worked on 4.0.8 but I did not try on 4.1.1.
>
> Here is the jira:
> https://issues.apache.org/jira/browse/KARAF-5299
>
>
>
>
>
>
>
> On Wed, Aug 9, 2017 at 4:35 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>
> wrote:
>
>> Yes, please.
>>
>> Did it work on 4.1.1 ?
>>
>> Regards
>> JB
>>
>>
>> On 08/09/2017 04:25 PM, Nicolas Brasey wrote:
>>
>>> Hi,
>>>
>>> I have a fragment bundle which does not get attached to its host when
>>> using the command bundle:install. It gets bound correctly if I drop the
>>> bundle in the deploy directory.
>>>
>>> Should I open a Jira ?
>>>
>>> Thanks,
>>> Nicolas
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Re: fragment not bound to its host (karaf v.4.1.2)

Posted by Nicolas Brasey <ni...@gmail.com>.
It worked on 4.0.8 but I did not try on 4.1.1.

Here is the jira:
https://issues.apache.org/jira/browse/KARAF-5299







On Wed, Aug 9, 2017 at 4:35 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>
wrote:

> Yes, please.
>
> Did it work on 4.1.1 ?
>
> Regards
> JB
>
>
> On 08/09/2017 04:25 PM, Nicolas Brasey wrote:
>
>> Hi,
>>
>> I have a fragment bundle which does not get attached to its host when
>> using the command bundle:install. It gets bound correctly if I drop the
>> bundle in the deploy directory.
>>
>> Should I open a Jira ?
>>
>> Thanks,
>> Nicolas
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: fragment not bound to its host (karaf v.4.1.2)

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Yes, please.

Did it work on 4.1.1 ?

Regards
JB

On 08/09/2017 04:25 PM, Nicolas Brasey wrote:
> Hi,
> 
> I have a fragment bundle which does not get attached to its host when using the 
> command bundle:install. It gets bound correctly if I drop the bundle in the 
> deploy directory.
> 
> Should I open a Jira ?
> 
> Thanks,
> Nicolas

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com