mod_proxy_ajp (apache 2.2) config change not recognized by graceful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux