Thanks to you both,

apparently I do need to group the main ServiceMix distribution features
before loading mines.

I'll make use of this feature.

Regards,
Cristiano


Il giorno mer 9 mar 2016 alle ore 09:16 Jean-Baptiste Onofré <
[email protected]> ha scritto:

> Sorry, I meant Karaf 3/4 (stage didn't exist in Karaf 2 AFAIR).
>
> Regards
> JB
>
> On 03/09/2016 09:02 AM, Jean-Baptiste Onofré wrote:
> > Hi Cristiano,
> >
> > it's what we name featuresBoot staging, allowing you to fully install a
> > group of features before moving to others.
> >
> > We don't change the way it works (about stage) between Karaf 2/3/4. The
> > main difference is in Karaf 4 with the new features resolver.
> >
> > Regards
> > JB
> >
> > On 03/09/2016 08:57 AM, Cristiano Costantini wrote:
> >> Hello all,
> >>
> >> In ServiceMix 7.0.0.M1 I have a deadlock at startup when I add the
> >> features
> >> of my applications to the featuresBoot in
> >> etc/org.apache.karaf.features.cfg
> >> (the data/log/servicemix.log stops after
> >> "org.apache.karaf.features.core -
> >> 4.0.4 | Adding features", you can see the full log the following Gist:
> >> https://gist.github.com/cristcost/8ffe3a10cee140d07af3)
> >>
> >> I've accidentally solved the problem by grouping the original ServiceMix
> >> distribution features in parenthesis, and then adding mine after:
> >>
> >> featuresBoot = (wrap,aries-blueprint, ...
> >> ,camel-xstream,war),webconsole,cristcost-test
> >>
> >> But the documentation says nothing about the use of parenthesis:
> >>
> >>
> http://karaf.apache.org/manual/latest/users-guide/provisioning.html#Bootfeatures
> >>
> >>
> >> (I've seen parenthesis used in ServiceMix 6.1.0 and I tried)
> >>
> >> 1) Can someone please explain how does the parenthesis works in Karaf
> >> 3.x/4.x and how this has changed from Karaf 2.x (I was having no problem
> >> like this in ServiceMix 5.3.x)?
> >>
> >> 2) If the features I add are the cause of a Dead Lock, do you have
> >> suggestion of how to debug the feature bootstrap and find the main
> issue?
> >> (I fear that using parenthesis does not solve the problem but only
> >> make it
> >> more rare to happen, and I fear to have the deadlock in production)
> >>
> >>
> >> Thank you very much
> >> Cristiano
> >>
> >> P.S. I'm slowly progressing in upgrading from SMX 5
> >>
> >
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to