If you are using JBOSS-3.2.3 and above; under <Server Instance>/deploy/jbossweb-tomcat50.sar/META-INF directory ; there is a jboss-service.xml file. Check whether the following elements are commented out; this enable HTTPSession replication.
<!-- you must switch to "interval" to use this attribute (msec) -->
I have done that changes in jboss-service.xml but still we are not able to retrive the values.
suppose if req goge to node 1 then for all other node 2,3,4 it gives null pointer exception but again for node 1 it maintains the session.
I have done that configuration changes already.
3 nodes are clustered. If for the first time request goes to server A (we are using RoundRobin) there its creates the session and gives us response. but for node B and C it gives us error Null pointer Exceptions. When req comes to A its shows the result.
We want the bean shoud be replicated accross all the node and shoud maintain the state of bean.
When you start the jboss instance in all the boxes; do they recongnize each other? What is the version of jboss you are using? Are you using any WebServer's like Apache(mod_jk) and forwarding the requests to JBOSS or are you hitting jboss directly?
Thanks for ur help
In Jboss it recognize every other node.
We are using apache with mod_jk as a load balancer.
we have also written Worker.properties and mod_jk.conf file .