You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2012/05/01 08:13:45 UTC

[jira] [Commented] (KARAF-1405) Can not update properties of configuraton using cluster command 'cluster:config-propset'

    [ https://issues.apache.org/jira/browse/KARAF-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265677#comment-13265677 ] 

Jean-Baptiste Onofré commented on KARAF-1405:
---------------------------------------------

OK, the cluster event is not sent by the commands (using an event producer). I fix that.
                
> Can not update properties of configuraton  using cluster command 'cluster:config-propset'
> -----------------------------------------------------------------------------------------
>
>                 Key: KARAF-1405
>                 URL: https://issues.apache.org/jira/browse/KARAF-1405
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-config
>    Affects Versions: cellar-2.2.3
>         Environment: Karaf-2.2.7-SNAPSHOT from 20120426
>            Reporter: Xiaoli Ding
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.4
>
>
> 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
> {panel}
> 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
> {panel}
> 3.on node1,update one property to 'false' by excute  cluster commands
> {panel}
> 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
> {panel}
> 4.go to etc folder,open file 'org.apache.karaf.cellar.groups.cfg' of node1,the property is not updated.the properties still:
> {panel}
> default.features.sync=true
> {panel}
> 5.open file 'org.apache.karaf.cellar.groups.cfg' of node2 and node3,the property are also not updated.the properties still:
> {panel}
> default.features.sync=true
> {panel}
> for file 'org.apache.karaf.cellar.groups.cfg' of three nodes,now expect seeing the updated property:'default.features.sync=false'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira