[JBoss JIRA] (MODCLUSTER-273) sticky-session-force change requires httpd restart
by Christoph Gostner (Created) (JIRA)
sticky-session-force change requires httpd restart
--------------------------------------------------
Key: MODCLUSTER-273
URL: https://issues.jboss.org/browse/MODCLUSTER-273
Project: mod_cluster
Issue Type: Bug
Affects Versions: 1.1.4.Final
Reporter: Christoph Gostner
Assignee: Jean-Frederic Clere
The change of the {{sticky-session-force}} attribute requires a httpd restart.
Environment:
Apache with {{mod_cluster}} and two JBoss AS7 (standalone mode but with ha configuration).
Initial setting:
# {{sticky-session=true}}
# {{sticky-session-force=false}}
Example output:
{quote}
27 28520f70
Switch to node c178529b
28 c178529b took 2 seconds
29 c178529b
{quote}
The documentation for {{sticky-session-force}} says:
{quote}
Indicates whether the httpd proxy should return an error in the event that the balancer is unable to route a request to the node to which it is stuck. This property is ignored if stickySession is false.
{quote}
We change {{sticky-session-force}} to {{true}}. Now I expect an 503 error ...
But nothing happens...
{quote}
5 28520f70
Switch to node c178529b
6 c178529b
7 c178529b
{quote}
... after a restart of httpd and JBoss the expected error happens:
{quote}
3 28520f70
Failed to open "http://ci.objectbay.com:8000/demo7/". Error code - 503.
Broken between 3 and 0 for 0 seconds.
Failed to open "http://ci.objectbay.com:8000/demo7/". Error code - 503.
Broken between 0 and 0 for 1 seconds.
{quote}
It seems that the change in the settings requires a complete restart of the cluster environment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira