[jboss-jira] [JBoss JIRA] (WFLY-11117) Executing legacy operations in mod_cluster subsystem is not possible with configuration with just one proxy

Radoslav Husar (Jira) issues at jboss.org
Mon Oct 8 17:41:00 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-11117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644855#comment-13644855 ] 

Radoslav Husar commented on WFLY-11117:
---------------------------------------

[~jkasik] btw if you want to show the entire subsystem configuration, specify recursive=true, e.g.:

{code}
[standalone at localhost:9990 /] /subsystem=modcluster/:read-resource(recursive=true
{
    "outcome" => "success",
    "result" => {"proxy" => {"default" => {
        "advertise" => true,
        "advertise-security-key" => undefined,
        "advertise-socket" => "modcluster",
        "auto-enable-contexts" => true,
        "balancer" => undefined,
        "connector" => "ajp",
        "excluded-contexts" => undefined,
        "flush-packets" => false,
        "flush-wait" => -1,
        "listener" => "ajp",
        "load-balancing-group" => undefined,
        "max-attempts" => 1,
        "node-timeout" => -1,
        "ping" => 10,
        "proxies" => undefined,
        "proxy-list" => undefined,
        "proxy-url" => "/",
        "session-draining-strategy" => "DEFAULT",
        "simple-load-provider" => undefined,
        "smax" => -1,
        "socket-timeout" => 20,
        "ssl-context" => undefined,
        "status-interval" => 10,
        "sticky-session" => true,
        "sticky-session-force" => false,
        "sticky-session-remove" => false,
        "stop-context-timeout" => 10,
        "ttl" => -1,
        "worker-timeout" => -1,
        "load-provider" => {"dynamic" => {
            "decay" => 2.0,
            "history" => 9,
            "custom-load-metric" => undefined,
            "load-metric" => {"cpu" => {
                "capacity" => 1.0,
                "property" => undefined,
                "type" => "cpu",
                "weight" => 1
            }}
        }},
        "ssl" => undefined
    }}}
}
{code}

> Executing legacy operations in mod_cluster subsystem is not possible with configuration with just one proxy
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-11117
>                 URL: https://issues.jboss.org/browse/WFLY-11117
>             Project: WildFly
>          Issue Type: Bug
>          Components: mod_cluster
>    Affects Versions: 14.0.0.Final
>            Reporter: Jan Kašík
>            Assignee: Radoslav Husar
>            Priority: Major
>
> Running legacy operation ends up with an error:
> {code}
> [standalone at localhost:9990 /] /subsystem=modcluster/:disable
> {
>     "outcome" => "failed",
>     "failure-description" => "WFLYMODCLS0022: Legacy operations cannot be used with multiple proxy configurations. Use non-deprecated operations at the correct proxy address.",
>     "rolled-back" => true
> }
> {code}
> mod_cluster configuration:
> {code}
> [standalone at localhost:9990 /] /subsystem=modcluster/:read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "mod-cluster-config" => {"configuration" => undefined},
>         "proxy" => {"default" => undefined}
>     }
> }
> {code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list