I have a jboss and apache setup hosting my .war file. I have enabled session stickiness to forward requests from apache to jboss . Assume I have 2 apache and 2 jboss instances.
Is the below setting correct? Currently session stickyness is not working and each time request is appended with a new JSESSSION ID.
<Proxy balancer://cluster> Order deny,allow Allow from all BalancerMember ajp://22.214.171.124:8010/testing keepalive=On loadfactor=1 ping=10 ttl=600 BalancerMember ajp://126.96.36.199:8010/testing keepalive=On loadfactor=1 ping=10 ttl=600 </Proxy> ProxyPass /testing balancer://cluster timeout=60 stickysession=JSESSIONID nofailover=On
Do I need to add route variable to the balancer member configuration and do i need to enable useJK flag in jboss?