[jboss-jira] [JBoss JIRA] (AS7-3791) Cannot add/remove stack, protocols

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Tue Feb 21 11:13:37 EST 2012


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

Richard Achmatowicz edited comment on AS7-3791 at 2/21/12 11:12 AM:
--------------------------------------------------------------------

The stack names are not predefined, you should be able to create a stack using any name. 

However, the type attribute, both for the transport add operation 
{noformat}
/subsystem=jgroups/stack=fred/transport=TRANSPORT:add(type=udp)
{noformat}

and for the protocol add opertation

{noformat}
/subsystem=jgroups/stack=fred:add-protocol(type=MPING)
{noformat}

are predefined, up to a point. The values for the transport are from a set {udp, tcp, tunnel} and the values for the latter are a larger set {mping, ping, frag, ...} which are the set of allowable JGroups protocol layers (version dependent). The problem with setting up validators for these attributes is that they rule out users supplying their own custom protocol layers, so we decided against validating them.

The problem of creating stacks is described in the linked issue.

                
      was (Author: rachmato):
    The stack names are not predefined, you should be able to create a stack using any name. 

However, the type attribute, both for the transport add operation 
{noformat}
/subsystem=jgroups/stack=fred/transport=TRANSPORT:add(type=udp)
{noformat}

and for the protocol add opertation

{noformat}
/subsystem=jgroups/stack=fred/add-protocol(type=MPING)
{noformat}

are predefined, up to a point. The values for the transport are from a set {udp, tcp, tunnel} and the values for the latter are a larger set {mping, ping, frag, ...} which are the set of allowable JGroups protocol layers (version dependent). The problem with setting up validators for these attributes is that they rule out users supplying their own custom protocol layers, so we decided against validating them.

The problem of creating stacks is described in the linked issue.

                  
> Cannot add/remove stack, protocols
> ----------------------------------
>
>                 Key: AS7-3791
>                 URL: https://issues.jboss.org/browse/AS7-3791
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Heiko Braun
>            Assignee: Richard Achmatowicz
>             Fix For: 7.1.1.Final
>
>
> [standalone at localhost:9999 /] /subsystem=jgroups/stack=tcp/protocol=test:add  
> {
>     "outcome" => "failed",
>     "failure-description" => "JBAS014739: No handler for add at address [
>     (\"subsystem\" => \"jgroups\"),
>     (\"stack\" => \"tcp\"),
>     (\"protocol\" => \"test\")
> ]",
>     "rolled-back" => true
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list