-
1. Re: Sticky Session in JBoss 7.1.1 final
rhusar May 8, 2012 9:17 AM (in response to shankarvignesh)Turn sticky sessions on: http://docs.jboss.org/mod_cluster/1.2.0/html_single/#proxy
It will be default in the next version (ie if you dont configure anything) maybe its not in 7.1.1 yet.
Rado
-
2. Re: Sticky Session in JBoss 7.1.1 final
shankarvignesh May 9, 2012 6:16 AM (in response to rhusar)In domain.xml i set sticky session as true.
<subsystem xmlns="urn:jboss:domain:modcluster:1.0">
<mod-cluster-config advertise-socket="modcluster" proxy-list="192.168.5.74:80" balancer="other-server-group" advertise-security-key="ConnectAdSecurityKey" excluded-contexts="ROOT, webapp1" sticky-session="true"sticky-session-force="true"/>
</subsystem>Thanks for the response
Regards,
Shankar Vignesh S
Message was edited by: Shankar Vignesh
-
3. Re: Sticky Session in JBoss 7.1.1 final
pferraro May 18, 2012 10:28 AM (in response to shankarvignesh)Just to say, if you enable sticky-session-force, then the load balancer will never failover a request. You would only want to do this for non-distributable stateful applications.