[ILUG] Annoying Apache Mod_Proxy_Balance With AJP issue

Thomas Pedoussaut thomas at staffeurs.org
Wed Jul 22 09:59:12 IST 2009


AJ McKee wrote:
> <Proxy balancer://jboss-balancer>
> BalancerMember ajp://10.10.10.71:8009 route=nodes001
> BalancerMember ajp://10.10.10.73:8009 route=nodes003
> </Proxy>
>
> ProxyPass / balancer://jboss-balancer/ stickysession=JSESSIONID
> lbmethod=bytraffic nofailover=Off
>
> Now I've brought the above configs right down to the most basic
> settings. When I've enabled the debug in Apache, I see the session
> cookie no bother with the route appended, however mod_proxy_ajp seems
> to want to send it to the other member in the balance. So edit my
> cookie and give it the other route, hey presto, it wants to send it to
> the other member then. In short,m it appears not to respect the route
> setting.
>   
In this configuration, the cookies have to be something like

JSESSIONID=1234567890ABCD.nodes001

The route is taken as the right part of the cookie content, after the dot.


-- 
Thomas



More information about the ILUG mailing list