You are looking at documentation for an older release. Not what you want? See the current release documentation.
JGroups configuration, for both JCR and IDM, is externalized via exo.properties
(see Configuration overview for this file).
It is recommended you use this file.
See previous section for list of default values and externalized variables.
Only when the variables are not enough, or when migrating from previous version you want to re-use your JGroups configuration files, you will follow this section to activate your xml files.
Put your xml file somewhere, typically standalone/configuration/gatein/jgroups/
in JBoss and
gatein/conf/jgroups/
in Tomcat.
Edit the following properties in exo.properties
:
exo.jcr.cluster.jgroups.config=${exo.conf.dir}/jgroups/jgroups-jcr.xml exo.jcr.cluster.jgroups.config-url=file:${exo.jcr.cluster.jgroups.config} exo.idm.cluster.jgroups.config=${exo.conf.dir}/jgroups/jgroups-idm.xml
In which exo.conf.dir
is standalone/configuration/gatein
in JBoss
and gatein/conf
in Tomcat by default.
If you put your files somewhere else, pay attention that you must use an absolute path after "file:".
exo.jcr.cluster.jgroups.config=/path/to/your/jgroups-jcr-file exo.jcr.cluster.jgroups.config-url=file:/path/to/your/jgroups-jcr-file exo.idm.cluster.jgroups.config=/path/to/your/jgroups-idm-file