Hi all,

it seems mod_proxy / mod_proxy_ajp does not realize config changes while
doing a graceful restart.

I need to connect to 2 ajp-services but only to one at one time, and need
current sessions pointing
to the appserver:18009, new sessions after graceful to appserver:28009.

If I have

ProxyPass /jeeapp balancer://balancer/jeeapp stickysession=JSESSIONID
nofailover=On

<Proxy balancer://balancer>
BalancerMember ajp://appserver:18009 route=jvmroute1 loadfactor=1
BalancerMember ajp://appserver:28009 route=jvmroute2 loadfactor=1 status=D

</Proxy>

Then everything works OK.

If I change it to 

<Proxy balancer://balancer>
BalancerMember ajp://appserver:18009 route=jvmroute1 loadfactor=1 status=D
BalancerMember ajp://appserver:28009 route=jvmroute2 loadfactor=1 
</Proxy>

And perform a apache -k graceful

The /balancer-manager shows the old config.
And the apache is not working like the new way but the above.

If I perform a restart - all current sessions get be killed -
and it works as it connects to the other balancer member.

Why is graceful not enough? Or what can I do to get the config
change in balancer without terminating current sessions?
(If I do it with the balancer-manager via Web it works as well).

Any hints appreciated.

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to