Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
cellar-2.2.3
-
None
-
Karaf-2.2.7-SNAPSHOT from 20120426
Description
1.Start three Karaf and install cellar on three karaf
now there are three node(node1,node2 and node3) on default group
2.using default properties of org.apache.karaf.cellar.groups.cfg for these three karaf
default.config.whitelist.inbound=*
default.config.whitelist.outbound=*
default.config.blacklist.inbound=org.apache.cxf.dosgi.discovery.zookeeper.server,org.apache.karaf.cellar.groups,org.apache.karaf.cellar.instance,org.apache.karaf.cellar.node,org.apache.karaf.management,org.ops4j.pax.web,org.talend.esb.locator,org.apache.karaf.shell,org.talend.remote.jobserver.server
default.config.blacklist.outbound=org.apache.cxf.dosgi.discovery.zookeeper.server,org.apache.karaf.cellar.groups,org.apache.karaf.cellar.instance,org.apache.karaf.cellar.node,org.apache.karaf.management,org.ops4j.pax.web,org.talend.esb.locator,org.apache.karaf.shell,org.talend.remote.jobserver.server
default.config.sync=true
default.features.whitelist.inbound=*
default.features.whitelist.outbound=*
default.features.blacklist.inbound=cellar,jetty,http,tesb-locator-client,tesb-sam-server,tesb-derby-starter
default.features.blacklist.outbound=cellar,jetty,http,tesb-locator-client,tesb-sam-server,tesb-derby-starter
default.features.sync=true
default.features.repositories.sync=true
3.on node1,update one property to 'false' by excute cluster commands
karaf@trun> cluster:config-propset default org.apache.karaf.cellar.groups default.features.sync false
karaf@trun> cluster:config-proplist default org.apache.karaf.cellar.groups
Property list for configuration PID org.apache.karaf.cellar.groups for group default
Key Value
default.features.sync false
4.go to etc folder,open file 'org.apache.karaf.cellar.groups.cfg' of node1,the property is not updated.the properties still:
default.features.sync=true
5.open file 'org.apache.karaf.cellar.groups.cfg' of node2 and node3,the property are also not updated.the properties still:
default.features.sync=true
for file 'org.apache.karaf.cellar.groups.cfg' of three nodes,now expect seeing the updated property:'default.features.sync=false'