You can look here for a how-to clustering document that I created which is HASingleton specific. There are all of the basics of clustering included, you just have to pay attention to what steps are HASingleton specific and skip those.
I hope this helps, good luck...
Actually on second look that document is almost entirely about HASingletons running in a cluster. Better to look in the getting started guides or here http://www.onjava.com/pub/a/onjava/2002/07/10/jboss.html?page=1
The documentation is sparse but in the end basic clustering with JBoss is very simple, so it doesn't take too much to explain it.
I have been working on Jboss clustering from past few day's. Have configured as per the document on jboss-4.0.1RC2 clustering with 2 nodes and apache and mod_jk as proxy.
The load balancing is working fine, but when 1 node goes down the clients are directed to the node 2 but they have to login again, which states that session replication is not happening. Any pointer's as to what could be the problem??
In jbossweb-tomcat50.sar/server.xml you can try add (uncomment) the following lines:
Here are the lines! :)
<Valve className="org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn" debug="0"/>
Thanks a lot, it actually did worked :). I am quite surprised as to why was this crutial information missed in so many documents on jboss clustering how to.
anyways thanks once again!
Have a great day