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

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 7.1.0.ER1, 7.1.0.ER2, 7.1.0.ER3
    • Fix Version/s: 7.1.0.CR1
    • Component/s: Clustering
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      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 .

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pferraro Paul Ferraro
                Reporter:
                rjanik Richard Janik
                Tester:
                Richard Janik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: