Apache 2.2 + mod_proxy
/usr/local/jboss/bin/run.sh -c all -b 220.127.116.11 -u 18.104.22.168 -g foo &
/usr/local/jboss/bin/run.sh -c all -b 22.214.171.124 -u 126.96.36.199 -g foo &
I'm having trouble getting HTTP session replication working. I have created a cluster with two nodes on separate machines and configured a shared multicast address and group name. The servers seem to be detecting each other and joining the cluster:
Following further investigation it turns out that the session replication was working after all.
However, the web application uses authentication. Security credentials are not replicated with the HTTP session. Instead you need to enable clustered single sign-on for tomcat. This can be done by un-commenting the org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn valve in the tomcat <jboss>/server/all/deploy/jbossweb.sar/server.xml file.
For more info on clustered single sign-on (SSO) see the following: