[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-587) Undertow hosts root location is exposed(by default) to mod_cluster load balancer

Bogdan Sikora (JIRA) issues at jboss.org
Tue Jun 6 10:33:00 EDT 2017


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

Bogdan Sikora moved JBEAP-11385 to MODCLUSTER-587:
--------------------------------------------------

              Project: mod_cluster  (was: JBoss Enterprise Application Platform)
                  Key: MODCLUSTER-587  (was: JBEAP-11385)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: Documentation & Demos
                           (was: mod_cluster)
    Affects Version/s:     (was: 7.1.0.DR19)


> Undertow hosts root location is exposed(by default) to mod_cluster load balancer
> --------------------------------------------------------------------------------
>
>                 Key: MODCLUSTER-587
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-587
>             Project: mod_cluster
>          Issue Type: Bug
>          Components: Documentation & Demos
>            Reporter: Bogdan Sikora
>            Assignee: Radoslav Husar
>            Priority: Critical
>
> Undertow can be configured to serve static content per host via the location resource. This location resource is exposed to the mod_cluster balancer.
> {noformat}
>                "context" => {
>                     "/custom_location" => {
>                         "requests" => 0,
>                         "status" => "enabled"
>                     },
> {noformat}
> However, all EAP standalone profiles have enabled root location by default. This root location is then exposed to the balancer( Application root "/" is registered).
> {noformat}
>   "context" => {
>                     "/" => {
>                         "requests" => 0,
>                         "status" => "enabled"
>                     },
> {noformat}
> Root application matches with any application call and therefore mod_cluster balancer is unable to correctly route requests.
> To make mod_cluster work, one must delete root location from worker nodes.
> {noformat}
> /subsystem=undertow/server=default-server/host=default-host/location=\/:remove()
> {noformat}
> or excluding context ROOT
> {noformat}
> /subsystem=modcluster/mod-cluster-config=configuration:write-attribute(name=excluded-contexts,value="ROOT")
> {noformat}
> *_+Proposal:+_*
> Exclude ROOT context by default



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the mod_cluster-issues mailing list