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://220.127.116.11:8010/testing keepalive=On loadfactor=1 ping=10 ttl=600 BalancerMember ajp://18.104.22.168: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?