I'm testing HTTP Session replication using AS 7.1.1 and two cluster nodes on the same machine.
I've started each node using the standalone-ha.xml file:
standalone -c standalone-ha.xml -Djboss.node.name=nodeA
standalone -c standalone-ha.xml -Djboss.socket.binding.port-offset=100 -Djboss.node.name=nodeB
now, once started I've deployed a simple Web application (tagged as <distributable /> ) which contains a Servlet that merely outputs the Session Id:
When running the application in two separate Browser tabs, I can see a new Session is created each time I switch from one tab to another:
am I missing out something to get it working ?
Thanks a lot
You'll have to provide more detail. What results are you expecting? What exactly is your application doing? How are you specifying which session to use in your 2nd browser tab?