Description of problem: We would like to refer an external final for gatein.jcr.jgroups.config, the jgroups configuration. Change the declared variable in $CONF/conf/gatein/configuration.properties isn't enough, we also have other references to the jgroups configuration: [wsiqueir@wsiqueir gatein]$ grep 'gatein-${gatein.default.jgroups.stack:udp}.xml' . -r ./gatein.ear/portal.war/WEB-INF/conf/jbosscache/cluster/config.xml: <jgroupsConfig configFile="jgroups/gatein-${gatein.default.jgroups.stack:udp}.xml"/> ./gatein.ear/portal.war/WEB-INF/conf/jcr/jbosscache/cluster/config_portal-system.xml: <jgroupsConfig configFile="jgroups/gatein-${gatein.default.jgroups.stack:udp}.xml"/> ./gatein.ear/portal.war/WEB-INF/conf/jcr/jbosscache/cluster/indexer-config.xml: <jgroupsConfig configFile="jgroups/gatein-${gatein.default.jgroups.stack:udp}.xml"/> ./gatein.ear/portal.war/WEB-INF/conf/jcr/jbosscache/cluster/lock-config.xml: <jgroupsConfig configFile="jgroups/gatein-${gatein.default.jgroups.stack:udp}.xml"/> ./gatein.ear/portal.war/WEB-INF/conf/jcr/jbosscache/cluster/config.xml: <jgroupsConfig configFile="jgroups/gatein-${gatein.default.jgroups.stack:udp}.xml"/> This bugzilla aims to propose to use only the parameter gatein.jcr.jgroups.config to refer to the gatein jgroups config file.
JBoss Portal 6.1.1 and previous ones uses Infinispan and JBoss Cache for some internal components. This coexistence needed two version of JGroups (v2 and v3)and this means two configuration location. JBoss Portal 6.2 will unify this dependency using Infinispan and having only JGroups v3 configuration located in gatein.jcr.jgroups.config=classpath:/jgroups/gatein-${gatein.default.jgroups.stack:udp}.xml under gatein/configuration.properties So, no more deal with two JGroups configuration files. I think this change can match with request from this BZ as configuration will be unified.
That's definitely a step in the right direction. The end goal should be to use the JGroups subsystem from EAP, configured in standalone.xml/domain.xml.
Verified in JPP 6.2.ER1