[jboss-jira] [JBoss JIRA] (WFCORE-956) Adding JGroups stack seems to freeze the UI

Kabir Khan (JIRA) issues at jboss.org
Mon Sep 7 08:32:00 EDT 2015


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

Kabir Khan commented on WFCORE-956:
-----------------------------------

This seems to be because it is looping in the aliases. What happens when executing the CLI command is 

1) This operation comes in:
{code}
{
    "address" => [
        ("profile" => "full-ha"),
        ("subsystem" => "jgroups"),
        ("stack" => "foo"),
        ("transport" => "TRANSPORT")
    ],
    "operation" => "read-operation-description",
    "name" => "add",
    "operation-headers" => {
        "caller-type" => "user",
        "access-mechanism" => "NATIVE"
    }
}
{code}

2) It ends up in AliasStepHandler where the original address is:
{code}
[
    ("profile" => "full-ha"),
    ("subsystem" => "jgroups"),
    ("stack" => "foo"),
    ("transport" => "TRANSPORT")
]
{code}
This address is then transformed to the same, so that the 'mapped' variable in AliasStepHandler contains
{code}
[
    ("profile" => "full-ha"),
    ("subsystem" => "jgroups"),
    ("stack" => "foo"),
    ("transport" => "TRANSPORT")
]
{code}

3) AliasStepHandler then replaces the address in the operation with exactly the same, so it adds exactly the same operation as from 1) and we have the loop.

A wild guess is that it is this PR https://github.com/wildfly/wildfly/pull/7911 from [~pferraro] merged last week (unless this was already in EAP)

> Adding JGroups stack seems to freeze the UI
> -------------------------------------------
>
>                 Key: WFCORE-956
>                 URL: https://issues.jboss.org/browse/WFCORE-956
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 2.0.0.Beta5
>            Reporter: Jan Kašík
>            Assignee: Brian Stansberry
>            Priority: Critical
>
> Adding new JGroups stack with randomly chosen (non existing) socket binding name results in web console freeze.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list