What is the definition i need to give in jboss.xml for clustering a application made up of JSP/servlets? The definition that clustering docs give is for ejb's only.
Yes, that is not yet in the doc. you need to get JBoss from the sources, compile it (execute jboss-all/build/build.bat) and take a file named "jbossha-httpsession.sar" from jboss-all\cluster\output\lib and put in the deploy folder of your jboss instance. Then, no configuration is necessary: all httpsessions are automatically replicated in the cluster.