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

Michal Babacek (JIRA) issues at jboss.org
Fri Aug 8 06:29:20 EDT 2014


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

Michal Babacek closed MODCLUSTER-273.
-------------------------------------



Closing. Clean-up.
At least one of the following applies:

  * the issue has been thoroughly tested as a part of one of the current releases
or
  * it hasn't occurred in ~2 years
or
  * it's utterly harmless

> sticky-session-force change requires httpd restart
> --------------------------------------------------
>
>                 Key: MODCLUSTER-273
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-273
>             Project: mod_cluster
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.1.4.Final 
>            Reporter: Christoph Gostner
>            Assignee: Jean-Frederic Clere
>              Labels: clustering, httpd, jboss-as7
>             Fix For: 1.2.0.Final
>
>
> 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 was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the mod_cluster-issues mailing list