Enabling clustering is very simple, as it only involves running the JBoss AS in the "all" configuration mode. To the new comer of JBoss clustering, http://www.jboss.org/wiki/Wiki.jsp?page=JBossHA is one of the bast places to start.
Thanxs for the reply.. i have run the server as instructed and server is now running in clustered mode(i have checked this using jmx-console). but, i am getting an error like:
19:38:27,835 WARN [UDP] packet from /10.43.68.96:1773 has different version (0227?)
from ours (02271). This may cause problems
19:38:27,835 ERROR [UDP] exception=java.io.StreamCorruptedException: invalid stream h
and i have deployed jboss-portal-ha.sar (binary) and its not getting deployed.