JBoss supports clustering in the embedded Tomcat service. The steps to set up clustering of Tomcat embedded containers are as follows:
If you have deployed and accessed your application, go back to the jboss.cache:service=TomcatClusteringCache MBean and invoke the printDetails operation. You should see output resembling the following: /JSESSION /n6HywRwITbY-xvzaZ0LS5Q** n6HywRwITbY-xvzaZ0LS5Q**: org.jboss.invocation.MarshalledValue@9c1dddab /R1T4Dapn7c8T-+Ynd9v9MA** R1T4Dapn7c8T-+Ynd9v9MA**: org.jboss.invocation.MarshalledValue@8c0f60b6 This output shows two separate web sessions that are being shared via JBossCache. If you don't see any output, either the application was not correctly marked as distributable or you haven't accessed the part of application that places values in the HTTP session. |