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]>:

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]>:
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 


Reply via email to