JBoss.orgCommunity Documentation

JCR

The set of properties controls the JCR behaviour.

# Type of JCR configuration to use. Possible values are:
# local : local JBC configuration
# cluster : cluster JBC configuration
gatein.jcr.config.type=local

....

# JCR dialect.
# auto : enabled auto detection
gatein.jcr.datasource.dialect=auto

# JCR Session Registry configuration
# Define here the Max Age of the JCR Session in the session registry (in seconds)
gatein.jcr.sessionregistry.sessionmaxage=300

# JCR cache configuration
gatein.jcr.cache.config=file:${gatein.conf.dir}/jcr/jbosscache/${gatein.jcr.config.type}/cache-config.xml
gatein.jcr.cache.expiration.time=15m

# JCR Locks configuration
gatein.jcr.lock.cache.config=file:${gatein.conf.dir}/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml

# JCR Index configuration
gatein.jcr.index.cache.config=file:${gatein.conf.dir}/jcr/jbosscache/${gatein.jcr.config.type}/indexer-config.xml

# JGroups configuration
# for eXo Cache and IDM org-service (in cluster cache-config.xml files)
gatein.jgroups.config=${gatein.conf.dir}/jgroups/jgroups-udp.xml
# for JCR
gatein.jcr.jgroups.config=file:${gatein.jgroups.config}

Details:

gatein.jcr.config.type Set to cluster if you want to use eXo Platform in the cluster mode. Otherwise, leave local.
gatein.jcr.cache.config Path to the JBoss Cache configuration for the JCR cache.
gatein.jcr.cache.expiration.time JCR cache expiration time.
gatein.jcr.lock.cache.config Path to the JBoss Cache configuration for the JCR lock.
gatein.jcr.index.cache.config Path to the JBoss Cache configuration for the JCR index.
gatein.jgroups.config Path to the JGroups configuration to use for the cluster mode of eXo Cache and PicketLink IDM organization service (see below in IDM caches).
gatein.jcr.jgroups.config Path to the JGroups configuration to use for the cluster mode.

For more details on configuring these files, please refer to the eXo JCR Reference Guide.