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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

nicolas.brasey
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

jbonofre
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é
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

nicolas.brasey
It worked on 4.0.8 but I did not try on 4.1.1.

Here is the jira:







On Wed, Aug 9, 2017 at 4:35 PM, Jean-Baptiste Onofré <[hidden email]> 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é
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Achim Nierbeck
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 <[hidden email]>:
It worked on 4.0.8 but I did not try on 4.1.1.

Here is the jira:







On Wed, Aug 9, 2017 at 4:35 PM, Jean-Baptiste Onofré <[hidden email]> 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é
[hidden email]
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 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

nicolas.brasey
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 <[hidden email]> 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 <[hidden email]>:
It worked on 4.0.8 but I did not try on 4.1.1.

Here is the jira:







On Wed, Aug 9, 2017 at 4:35 PM, Jean-Baptiste Onofré <[hidden email]> 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é
[hidden email]
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 


Loading...