Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11491

JGroups backward compatibility - manipulating the protocol resource needs fully qualified name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR1
    • 7.1.0.ER1, 7.1.0.ER2, 7.1.0.ER3
    • Clustering
    • None
    • Hide

      Create a protocol stack containing TCPPING using deprecated add operation on property (this passes and that's fine):

      batch
      /subsystem=jgroups/stack=tcpping:add()
      /subsystem=jgroups/stack=tcpping/transport=TCP:add(socket-binding=jgroups-tcp)
      /subsystem=jgroups/stack=tcpping/protocol=TCPPING:add()
      /subsystem=jgroups/stack=tcpping/protocol=TCPPING/property=initial_hosts:add(value="127.0.0.1[7600],127.0.0.1[7700]")
      /subsystem=jgroups/stack=tcpping/protocol=MERGE2:add()
      /subsystem=jgroups/stack=tcpping/protocol=FD_SOCK:add(socket-binding=jgroups-tcp-fd)
      /subsystem=jgroups/stack=tcpping/protocol=FD:add()
      /subsystem=jgroups/stack=tcpping/protocol=VERIFY_SUSPECT:add()
      /subsystem=jgroups/stack=tcpping/protocol=BARRIER:add()
      /subsystem=jgroups/stack=tcpping/protocol=pbcast.NAKACK:add()
      /subsystem=jgroups/stack=tcpping/protocol=UNICAST2:add()
      /subsystem=jgroups/stack=tcpping/protocol=pbcast.STABLE:add()
      /subsystem=jgroups/stack=tcpping/protocol=pbcast.GMS:add()
      /subsystem=jgroups/stack=tcpping/protocol=UFC:add()
      /subsystem=jgroups/stack=tcpping/protocol=MFC:add()
      /subsystem=jgroups/stack=tcpping/protocol=FRAG2:add()
      /subsystem=jgroups/stack=tcpping/protocol=RSVP:add()
      run-batch
      /subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcpping)
      reload
      

      Now attempt any other operation on the protocol (batch mode makes no difference):

      /subsystem=jgroups/stack=tcpping/protocol=TCPPING:read-resource
      

      This will fail because the protocol needs to be referenced as org.jgroups.protocols.TCPPING.

      Show
      Create a protocol stack containing TCPPING using deprecated add operation on property (this passes and that's fine): batch /subsystem=jgroups/stack=tcpping:add() /subsystem=jgroups/stack=tcpping/transport=TCP:add(socket-binding=jgroups-tcp) /subsystem=jgroups/stack=tcpping/protocol=TCPPING:add() /subsystem=jgroups/stack=tcpping/protocol=TCPPING/property=initial_hosts:add(value="127.0.0.1[7600],127.0.0.1[7700]") /subsystem=jgroups/stack=tcpping/protocol=MERGE2:add() /subsystem=jgroups/stack=tcpping/protocol=FD_SOCK:add(socket-binding=jgroups-tcp-fd) /subsystem=jgroups/stack=tcpping/protocol=FD:add() /subsystem=jgroups/stack=tcpping/protocol=VERIFY_SUSPECT:add() /subsystem=jgroups/stack=tcpping/protocol=BARRIER:add() /subsystem=jgroups/stack=tcpping/protocol=pbcast.NAKACK:add() /subsystem=jgroups/stack=tcpping/protocol=UNICAST2:add() /subsystem=jgroups/stack=tcpping/protocol=pbcast.STABLE:add() /subsystem=jgroups/stack=tcpping/protocol=pbcast.GMS:add() /subsystem=jgroups/stack=tcpping/protocol=UFC:add() /subsystem=jgroups/stack=tcpping/protocol=MFC:add() /subsystem=jgroups/stack=tcpping/protocol=FRAG2:add() /subsystem=jgroups/stack=tcpping/protocol=RSVP:add() run-batch /subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcpping) reload Now attempt any other operation on the protocol (batch mode makes no difference): /subsystem=jgroups/stack=tcpping/protocol=TCPPING:read-resource This will fail because the protocol needs to be referenced as org.jgroups.protocols.TCPPING .

            pferraro@redhat.com Paul Ferraro
            rjanik@redhat.com Richard Janik
            Richard Janik Richard Janik
            Richard Janik Richard Janik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: