-
1. Re: Session Replication Fails- jboss-4.0.3SP1
beatificmale Mar 21, 2006 7:24 AM (in response to beatificmale)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:
<replication-config>
<replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
<replication-granularity>SESSION</replication-granularity>
</replication-config>
I'm starting the server with following command:
GTW_run.bat -c all --host=192.0.0.77
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. -
2. Re: Session Replication Fails- jboss-4.0.3SP1
dhrubo Mar 28, 2006 3:34 AM (in response to beatificmale)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
-
3. Re: Session Replication Fails- jboss-4.0.3SP1
ianmechura Apr 3, 2006 10:35 PM (in response to beatificmale)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?
e.g. -
4. Re: Session Replication Fails- jboss-4.0.3SP1
beatificmale Apr 6, 2006 4:51 AM (in response to beatificmale)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.
Cheers !