Hey guys,

I am sorry but I am not sure what my configuration is missing.
I never changed it so it looks like this:

groups = default

default.config.whitelist.inbound = *
default.config.whitelist.outbound = *
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
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
default.config.sync = true

default.feature.whitelist.inbound = *
default.feature.whitelist.outbound = *
default.feature.blacklist.inbound = config,management,hazelcast,cellar*
default.feature.blacklist.outbound = config,management,hazelcast,cellar*
default.feature.sync = true
default.feature.repositories.sync = true

default.bundle.whitelist.inbound = *
default.bundle.whitelist.outbound = *
default.bundle.blacklist.inbound = none
default.bundle.blacklist.outbound = none
default.bundle.sync = true

default.obr.urls.sync = true
default.obr.bundles.sync = true

Do I have to add something like "default.service.whitelist.inbound = *“ ?

Cheers,
Ronny

Am 11.12.2014 um 20:44 schrieb Jean-Baptiste Onofré <[email protected]>:

etc/org.apache.karaf.cellar.groups.cfg

On 12/11/2014 08:41 PM, Ronny Bräunlich wrote:
> Hi Achim,
> 
> how did I blacklist the service? Or better, how do I whitelist it?
> 
> Cheers,
> Ronny
> 
> Am 11.12.2014 um 20:36 schrieb Achim Nierbeck <[email protected]
> <mailto:[email protected]>>:
> 
> Hi Ronny,
> since you seemed to have blacklisted the service on the second node it's
> not being managed even though the configuration is available to the node
> because of configuration synchronization. Actually both nodes of the
> same group should be equivalent therefore the second node should have
> the same services running.
> If you want to have a distributed service you need to separate both
> nodes into different groups. With that running you're able to have one
> service only running on one node which is consumable from the other
> 
> regards, Achim
> 
> 
> 
> 2014-12-11 19:40 GMT+01:00 Ronny Bräunlich <[email protected]
> <mailto:[email protected]>>:
> 
>    Hi everyone,
> 
>    I have a general question about services in Cellar.
>    I am running two instances and both are in the same group (default)
>    and so synchronize their state.
>    Both contain a bundle with a ManagedServiceFactory. The config file
>    is in the etc directory of the first Karaf. All of the configuration
>    arrives at the second Karaf, too.
>    But the service the engine should created is only visible in the
>    first Karaf. The second one doesn’t seem to bother.
>    I am not sure about the behavior. Should both Karafs create the
>    service or do they share the service or am I totally wrong? ;-)
> 
>    Cheers,
>    Ronny
> 
> 
> 
> 
> --
> 
> 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
> 
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to