According with the documentation, I've tried to setup a load balancer
apache2.2.x/tomcat5.5.x; I'm unable to maintain the session.
my conf: apache2.2.9/tomcat5.5.26/jdk1.5.0_15,linux redhat5.2
apache side:
RewriteEngine On
ProxyPreserveHost On
ProxyRequests Off
ProxyVia Off
<Proxy balancer://a>
Order deny,allow
Allow from all
BalancerMember ajp://vmwaretest08:8009 route=vmwaretest08
loadfactor=1
BalancerMember ajp://vmwaretest08:8010 route=vmwaretest08
loadfactor=1
BalancerMember ajp://vmwaretest08:8011 route=vmwaretest08
loadfactor=1
</Proxy>
RewriteRule ^\/(.+)\.jsp(.+)? balancer://a/$1.jsp$2 [P,L]
ProxyPass /favicon.ico !
ProxyPass /robots.txt !
ProxyPass /images/ !
ProxyPass /a/ balancer://a/
ProxySet balancer://a stickysession=JSESSIONID|jsessionid
lbmethod=byrequests nofailover=On
tomcat side (server.xml)
...
<Engine name="Standalone" defaultHost="localhost" jvmRoute="vmwaretest08">
...
It seems ignoring the parameter stickysession=JSESSIONID|jsessionid and/or
the parameter nofailover=On
The same env. with apache2.0.x/mod_jk1.2.x works instead.
Any suggestion[s]/idea[s]????
Michele