cluster
JGroups replication issue
Question
The following exception is thrown when a cluster of two nodes is created on the same virtual host with DX 7.1.1
"javax.management.InstanceNotFoundException: JGroupsReplication:type=protocol,cluster="ehcache-jahia",protocol=GMS"
Cause
Wrong configuration of the clusterSolution
The file.node.properties
shouldn't contain placeholders.
In jahia.node.properties
, the cluster.activated
variable was set as below:
cluster.activated = ${jahia.cluster.activated}
This is not allowed.
The solution is to set the setenv
.
sh
script as below:
CATALINA_OPTS="$CATALINA_OPTS -DjahiaConfig.cluster.activated=true"