[jboss-user] [Clustering/JBoss] - Session replication with sticky session
sureshrk19
do-not-reply at jboss.com
Fri May 15 15:09:56 EDT 2009
Hi,
I could setup JBoss cluster with 2 nodes with apache/mod_jk as front-end.
I did enabled the sticky session in mod_jk configuration.
PS: I'm using Jboss-4.2.3.GA
Now, the problem is with session replication. I couldn;t get the session replicated on one node failure.
I added tag to web.xml
and I added the following in jboss-web.xml
<jboss-web>
<replication-config>
<replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
<replication-granularity>SESSION</replication-granularity>
</replication-config>
</jboss-web>
Also, I enabled...
"jvmRoute" and "UseJK" for both the nodes.
When I remove the sticky session then, teh session is replicated properly on both the nodes.
Any pointers would be highly appreciated.
Thanks,
Suresh
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231391#4231391
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231391
More information about the jboss-user
mailing list