I'm sorry ! there were some mistakes in my previous post : PLease ignore it.
I'm using jboss-4.0.3SP1 & j2sdk1.4.2_03. There are two server-instances of jboss running on two different machines.
My applications web.xml contains:
My applications jboss-web.xml contains:
I'm starting the server with following command:
GTW_run.bat -c all --host=184.108.40.206
After hot deployment on one server, 2nd server itself deploys the application using the cluster name(nodes).
But the issue is that the session is not getting replicated.
Am I missing any other configuration for clustering in JBOSS?
Please help me with all probable solutions.
Thanks in Advance.
Yes it seems that you are using sticky session check in the MOD_JK configuration if you are using sticky session. With sticky session tomcat cannot replicate sesssion
My experience is that you can use sticky session with session replicatio. What are you using for load balancing your nodes? Did you set the correct jvmRoute attribute in your D:\jboss\jboss-4.0.3SP1\server\all\deploy\jbossweb-tomcat55.sar\server.xml file?
Ian / Dhrubo,
Thnx a ton for your precious time and suggestion.
Actually, I was not using mod_jk and load balancing.
But now I'm able to implement failover and session replication using mod_jk configs with a common Apache server having nodes pointing to my various servers. I used sticky session and mission accomplished.