Bug 962577 - Make an unique reference to gatein.jcr.jgroups.config
Summary: Make an unique reference to gatein.jcr.jgroups.config
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Portal
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ER01
: 6.2.0
Assignee: Lucas Ponce
QA Contact:
URL:
Whiteboard: Triage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-13 23:16 UTC by William Antônio
Modified: 2018-12-01 14:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Enhancement
Embargoed:


Attachments (Terms of Use)

Description William Antônio 2013-05-13 23:16:02 UTC
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.

Comment 3 Lucas Ponce 2014-02-18 10:44:38 UTC
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.

Comment 4 dereed 2014-02-18 16:46:33 UTC
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.

Comment 5 mgottval 2014-04-24 11:18:10 UTC
Verified in JPP 6.2.ER1


Note You need to log in before you can comment on or make changes to this bug.