[jboss-jira] [JBoss JIRA] (AS7-3692) Management: jgroups add stack operation does not work

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Thu Feb 9 14:00:49 EST 2012


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

Richard Achmatowicz commented on AS7-3692:
------------------------------------------

The workaround here is to batch together the commands used to build the protocol stack:

{noformat}
[standalone at localhost:9999 /] batch                                                                                 
[standalone at localhost:9999 / #] /subsystem=jgroups/stack=fred:add()                                                   
#1 /subsystem=jgroups/stack=fred:add()
[standalone at localhost:9999 / #] /subsystem=jgroups/stack=fred/transport=TRANSPORT:add(type=UDP)                       
#2 /subsystem=jgroups/stack=fred/transport=TRANSPORT:add(type=UDP)
[standalone at localhost:9999 / #] /subsystem=jgroups/stack=fred:add-protocol(type=MPING)                                
#3 /subsystem=jgroups/stack=fred:add-protocol(type=MPING)
[standalone at localhost:9999 / #] run-batch
The batch executed successfully.
{noformat}

Unlike a cache container or a cache which can just be add()'ed and has an extensive system of defaults which make it a useable service straight away, an empty JGroups stack is not useable and really needs to have a transport and a minimal set of protocols added before it becomes useable as a group communication protocol.  Consequently, although it is not made explicit, the add command assumes that a useable stack configuration is present for the command to succeed. 

Some discussion needs to happen on whether or not we do provide a full set of defaults for an empty add operation.
The error message here definitely needs to be improved to reflect the fact that batching is required, certain protocol layers should be present, etc. 






                
> Management: jgroups add stack operation does not work
> -----------------------------------------------------
>
>                 Key: AS7-3692
>                 URL: https://issues.jboss.org/browse/AS7-3692
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Clustering, Domain Management
>    Affects Versions: 7.1.0.Final
>            Reporter: Dominik Pospisil
>            Assignee: Richard Achmatowicz
>              Labels: eap6_prd_req
>             Fix For: 7.1.1.Final
>
>
> Management: jgroups add stack operation does not work. Add stack operation fails with:
> JBAS014746: type may not be null
> however, add operation does not accept such parameter.
> Steps to reproduce:
> 1) start domain
> 2) connect CLI
> 3) [standalone at localhost:9999 /] /subsystem=jgroups/stack=test:add()
> {
>     "outcome" => "failed",
>     "failure-description" => "JBAS014746: type may not be null",
>     "rolled-back" => true,
>     "response-headers" => {"process-state" => "reload-required"}
> }

--
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