[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-273) sticky-session-force change requires httpd restart

Jean-Frederic Clere (JIRA) jira-events at lists.jboss.org
Wed Feb 1 10:58:49 EST 2012


     [ https://issues.jboss.org/browse/MODCLUSTER-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Frederic Clere resolved MODCLUSTER-273.
--------------------------------------------

    Resolution: Done


Fixed by 709
NOTE: that will cause the warning:
+++
Balancer "balancer_name" changed
+++
As it may be a miss configuration of one node of the balancer.
                
> 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
>              Labels: clustering, httpd, jboss-as7
>             Fix For: 1.2.0.Beta5
>
>
> 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

        


More information about the mod_cluster-issues mailing list