Hi,
I am clustering OFBiz using Apache Http Server.I have load balanced two
nodes currently.Everything is working fine for sticky session state of
tomcat.
My requirement is to cluster OFBiz using session replication.
For this i have uncommented the following code in ofbiz-containers.xml
<!-- uncomment for cluster support -->
<property name="default-server-cluster" value=
"cluster">
<property name="rep-valve-filter">
<property-value>
.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;</property-value>
</property>
<property name="manager-class"
value=
"org.apache.catalina.ha.session.DeltaManager"/>
<property name="debug" value="5"/>
<property name="replication-mode"
value=
"org.apache.catalina.tribes.transport.bio.PooledMultiSender"/>
<property name="tcp-listen-host" value=
"auto"/>
<property name="tcp-listen-port" value=
"4001"/>
<property name="tcp-sector-timeout" value=
"100"/>
<property name="tcp-thread-count" value=
"6"/>
<property name="mcast-bind-addr" value=
"172.17.88.52"/>
<property name="mcast-addr" value=
"228.0.0.4"/>
<property name="mcast-port" value="45564"
/>
<property name="mcast-freq" value="500"/>
<property name="mcast-drop-time" value=
"3000"/>
</property>
In mcast-bind-addr i have given the IP address of OFBiz host machine.
Also in <container name="catalina-container" tag , i have given jvm-route
property,same name as in my workers.properties file.
:jvm-route<property name="jvm-route" value="tomcat2"/>
But i am not able to get session replication running on my load balanced
cluster.
I also get the following message in OFBiz logs:
This operation will timeout if no session state has been received within
60 sec.
I am not able to understand what is missing in my settings.Kindly help me
out.
Thanks & Regards,
Neha Mehta
______________________________________________________________________