You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by conejo <lo...@gmail.com> on 2016/03/11 12:07:38 UTC
Cellar bundle update
In the following scenario:
Node1: master
Node2: receives bundles b1 and b2. The bundle b2 can not start if you have
not installed the bundle b1.
Is there any way to tell the node that install b1 first and b2 after?
I'm getting errors that can not be initiated b2 without b1 and must restart
node 2.
When node 2 restart, all works properly.
--
View this message in context: http://karaf.922171.n3.nabble.com/Cellar-bundle-update-tp4045764.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Cellar bundle update
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
Oh, I think you can use Cave as a pure Maven repo. Anyway, it's a good
addition to Cave to directly support feature (what I named Karaf Feature
Enterprise Repository in Cave introduction).
Regards
JB
On 03/11/2016 01:30 PM, conejo wrote:
> Thanks Achim.
> I'm using as a repository cave. How I can upload a feature repository cave?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Cellar-bundle-update-tp4045764p4045767.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Cellar bundle update
Posted by conejo <lo...@gmail.com>.
Thanks Achim.
I'm using as a repository cave. How I can upload a feature repository cave?
--
View this message in context: http://karaf.922171.n3.nabble.com/Cellar-bundle-update-tp4045764p4045767.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Cellar bundle update
Posted by Achim Nierbeck <bc...@googlemail.com>.
try to install a feature-set, that way you don't run into such issues ;)
regards, Achim
2016-03-11 12:07 GMT+01:00 conejo <lo...@gmail.com>:
> In the following scenario:
> Node1: master
> Node2: receives bundles b1 and b2. The bundle b2 can not start if you have
> not installed the bundle b1.
>
> Is there any way to tell the node that install b1 first and b2 after?
> I'm getting errors that can not be initiated b2 without b1 and must restart
> node 2.
> When node 2 restart, all works properly.
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Cellar-bundle-update-tp4045764.html
> Sent from the Karaf - User mailing list archive at Nabble.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: Cellar bundle update
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
You should use feature instead of bundles.
If you have a feature describing bundles, it will work.
For the bundle, if you do cluster:bundle-install/start of the first
bundle and then on the second one, it should work.
I plan an enhancement there (by storing additional stuff like the order).
By the way: keep in mind that by default, only cluster:* commands update
the cluster. If you want to sync the "local" events, you have to enable
it in etc/org.apache.karaf.cellar.groups.cfg (sync).
Regards
JB
On 03/11/2016 12:07 PM, conejo wrote:
> In the following scenario:
> Node1: master
> Node2: receives bundles b1 and b2. The bundle b2 can not start if you have
> not installed the bundle b1.
>
> Is there any way to tell the node that install b1 first and b2 after?
> I'm getting errors that can not be initiated b2 without b1 and must restart
> node 2.
> When node 2 restart, all works properly.
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Cellar-bundle-update-tp4045764.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com