7.5. Using customized JGroups xml files

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.

  1. Put your xml file somewhere, typically in standalone/configuration/gatein/jgroups/.

  2. 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 $PLATFORM_JBOSS_HOME/standalone/configuration/gatein 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
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus