[jboss-jira] [JBoss JIRA] (WFLY-8804) mod_cluster excluded-contexts doesn't exclude slash prefixed /contexts; should perform normalization

Radoslav Husar (JIRA) issues at jboss.org
Thu May 18 18:58:00 EDT 2017


Radoslav Husar created WFLY-8804:
------------------------------------

             Summary: mod_cluster excluded-contexts doesn't exclude slash prefixed /contexts; should perform normalization
                 Key: WFLY-8804
                 URL: https://issues.jboss.org/browse/WFLY-8804
             Project: WildFly
          Issue Type: Bug
          Components: mod_cluster
    Affects Versions: 11.0.0.Alpha1
            Reporter: Radoslav Husar
            Assignee: Radoslav Husar


Test instructions: 

{noformat}
[rhusar at syrah wildfly-11.0.0.Beta1-SNAPSHOT]$ ./bin/jboss-cli.sh -c
[standalone at localhost:9990 /] /subsystem=modcluster/mod-cluster-config=configuration:write-attribute(name=excluded-contexts,value="default-host:/clusterbench"
{"outcome" => "success"}
[standalone at localhost:9990 /] :reload
{
    "outcome" => "success",
    "result" => undefined
}
[standalone at localhost:9990 /] /subsystem=modcluster/:read-proxies-info
{
    "outcome" => "success",
    "result" => [
        "localhost:9090",
        "Node: [1],Name: node1,Balancer: mycluster,LBGroup: ,Host: 127.0.0.1,Port: 8009,Type: ajp,Flushpackets: Off,Flushwait: 10,Ping: 10,Smax: 26,Ttl: 60,Elected: 0,Read: 0,Transfered: 0,Connected: 0,Load: 73
Vhost: [1:1:1], Alias: localhost
Vhost: [1:1:2], Alias: default-host
Context: [1:1:1], Context: /wildfly-services, Status: ENABLED
Context: [1:1:2], Context: /clusterbench-passivating, Status: ENABLED
Context: [1:1:3], Context: /tmp, Status: ENABLED
Context: [1:1:4], Context: /, Status: ENABLED
Context: [1:1:5], Context: /clusterbench, Status: ENABLED
"
    ]
}
[standalone at localhost:9990 /] /subsystem=modcluster/mod-cluster-config=configuration:write-attribute(name=excluded-contexts,value="default-host:clusterbench"
{
    "outcome" => "success",
    "response-headers" => {
        "operation-requires-reload" => true,
        "process-state" => "reload-required"
    }
}
[standalone at localhost:9990 /] :reload
{
    "outcome" => "success",
    "result" => undefined
}
[standalone at localhost:9990 /] /subsystem=modcluster/:read-proxies-info
{
    "outcome" => "success",
    "result" => [
        "localhost:9090",
        "Node: [1],Name: node1,Balancer: mycluster,LBGroup: ,Host: 127.0.0.1,Port: 8009,Type: ajp,Flushpackets: Off,Flushwait: 10,Ping: 10,Smax: 26,Ttl: 60,Elected: 0,Read: 0,Transfered: 0,Connected: 0,Load: 69
Vhost: [1:1:1], Alias: localhost
Vhost: [1:1:2], Alias: default-host
Context: [1:1:2], Context: /tmp, Status: ENABLED
Context: [1:1:3], Context: /clusterbench-passivating, Status: ENABLED
Context: [1:1:4], Context: /wildfly-services, Status: ENABLED
Context: [1:1:5], Context: /, Status: ENABLED
"
    ]
}
{noformat}



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


More information about the jboss-jira mailing list