You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by asookazian2 <as...@gmail.com> on 2014/07/09 01:16:02 UTC
writing a bug for Karaf/Cellar
How/where do I write a bug for Karaf/Cellar?
--
View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: writing a bug for Karaf/Cellar
Posted by Ryan Moquin <fr...@gmail.com>.
2 node "horz" cluster? Being an open source project, the source code
always takes priority, in this case, JB had to do a big refactoe to update
for Karaf 3.x, as well as get Cave 3.x out the door, as well as his Karaf
responsibilities... on top of that, he and others are lightning fast at
responding when others need help (faster probably than any mailing list
I've seen). Unfortunately, for all that work that JB amd others have to
do, it leaves very little time to put together documentation.
While open source software is free, the "free" part is typically balanced
by the fact that users don't always have gobs of documentation at their
disposal since documentation takes a ton of time. You can contribute some
docs or example as a thanks if you want. Otherwise, you'll have to make
due. Unit tests are always a great place to look for help.
Plus, as JB said, some of what you are asking is documented already.
Just my humble 2 cents and advice. Glad your problem was resolved.
Ryan
On Jul 10, 2014 6:18 PM, "asookazian2" <as...@gmail.com> wrote:
> thanks this seemed to work.
>
> Cellar docs need lots more tutorials and/or examples.
>
> Good one is how to setup a 2 node horz cluster using
> mod_proxy_balancer/httpd. thx.
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034145.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
Re: writing a bug for Karaf/Cellar
Posted by asookazian2 <as...@gmail.com>.
thanks this seemed to work.
Cellar docs need lots more tutorials and/or examples.
Good one is how to setup a 2 node horz cluster using
mod_proxy_balancer/httpd. thx.
--
View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034145.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: writing a bug for Karaf/Cellar
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
It's the bundle location that you have to put in the blacklist/whitelist
(you can see the location with la -l).
Please, it's explained in the Cellar user guide, take a look on it.
Regards
JB
On 07/09/2014 11:28 PM, asookazian2 wrote:
> is it possible to blacklist a particular bundle id or range of bundle id's?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034109.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: writing a bug for Karaf/Cellar
Posted by asookazian2 <as...@gmail.com>.
Just tried this on the same file in both nodes and the behavior is not
reproducing (no bundles are being sync'd I assume):
default.bundle.whitelist.inbound = none
default.bundle.whitelist.outbound = none
default.bundle.blacklist.inbound = *
default.bundle.blacklist.outbound = *
default.bundle.sync = true
--
View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034110.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: writing a bug for Karaf/Cellar
Posted by asookazian2 <as...@gmail.com>.
is it possible to blacklist a particular bundle id or range of bundle id's?
--
View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034109.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: writing a bug for Karaf/Cellar
Posted by asookazian2 <as...@gmail.com>.
sorry i meant this block same file:
default.bundle.whitelist.inbound = *
default.bundle.whitelist.outbound = *
default.bundle.blacklist.inbound = none
default.bundle.blacklist.outbound = none
default.bundle.sync = true
--
View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034108.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: writing a bug for Karaf/Cellar
Posted by asookazian2 <as...@gmail.com>.
How exactly do I exclude the datasource xml bundle?
If you copy the xml file to the deploy dir, Karaf creates a bundle for it
with a corresponding bundle.jar.
Are you saying I need to add it to the
etc/org.apache.karaf.cellar.groups.cfg file like this:
default.config.blacklist.inbound = org.apache.felix.fileinstall*, \
org.apache.karaf.cellar*, \
org.apache.karaf.management, \
org.apache.karaf.shell, \
org.ops4j.pax.logging, \
org.ops4j.pax.web, \
bundle.jar
default.config.blacklist.outbound = org.apache.felix.fileinstall*, \
org.apache.karaf.cellar*, \
org.apache.karaf.management, \
org.apache.karaf.shell, \
org.ops4j.pax.logging, \
org.ops4j.pax.web, \
bundle.jar
What exactly would the syntax be for referencing the jar or datasource xml
here??
--
View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034107.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: writing a bug for Karaf/Cellar
Posted by Ryan Moquin <fr...@gmail.com>.
To work around it, you could add that bundle to the cellar exclusion list
so it isn't propogated. I take it the datasource starts correctly when
only one node? I should look at that exception again to see what the root
cause of the exception is.
Ryan
On Jul 8, 2014 7:18 PM, "asookazian2" <as...@gmail.com> wrote:
> I am reproducing a behavior where a datasource.xml bundle is constantly
> stopping/starting/active (repeat) seemingly in an infinite loop. Blueprint
> is being destroyed constantly in the karaf.log. Only happens when I have
> two nodes active in a Karaf/cellar cluster.
>
> karaf 3.0.1
> cellar 3.0.0
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034079.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
Re: writing a bug for Karaf/Cellar
Posted by asookazian2 <as...@gmail.com>.
I am reproducing a behavior where a datasource.xml bundle is constantly
stopping/starting/active (repeat) seemingly in an infinite loop. Blueprint
is being destroyed constantly in the karaf.log. Only happens when I have
two nodes active in a Karaf/cellar cluster.
karaf 3.0.1
cellar 3.0.0
--
View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034079.html
Sent from the Karaf - User mailing list archive at Nabble.com.