Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8934

JGroups backward compatibility - adding AUTH with deprecated operations fails

    Details

    • Steps to Reproduce:
      Hide
      batch
      /subsystem=jgroups/stack=udp/protocol=AUTH:add(add-index=8)
      /subsystem=jgroups/stack=udp/protocol=AUTH/property=auth_class:add(value=org.jgroups.auth.SimpleToken)
      /subsystem=jgroups/stack=udp/protocol=AUTH/property=auth_value:add(value=password)
      run-batch 
      

      results in

      The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): 
      WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
      Step: step-2
      Operation: /subsystem=jgroups/stack=udp/protocol=AUTH/property=auth_class:add(value=org.jgroups.auth.SimpleToken)
      Failure: WFLYCTL0175: Resource [
          ("subsystem" => "jgroups"),
          ("stack" => "udp"),
          ("protocol" => "org.jgroups.protocols.AUTH")
      ] does not exist; a resource at address [
          ("subsystem" => "jgroups"),
          ("stack" => "udp"),
          ("protocol" => "org.jgroups.protocols.AUTH"),
          ("property" => "auth_class")
      ] cannot be created until all ancestor resources have been added
      
      Show
      batch /subsystem=jgroups/stack=udp/protocol=AUTH:add(add-index=8) /subsystem=jgroups/stack=udp/protocol=AUTH/property=auth_class:add(value=org.jgroups.auth.SimpleToken) /subsystem=jgroups/stack=udp/protocol=AUTH/property=auth_value:add(value=password) run-batch results in The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed: Step: step-2 Operation: /subsystem=jgroups/stack=udp/protocol=AUTH/property=auth_class:add(value=org.jgroups.auth.SimpleToken) Failure: WFLYCTL0175: Resource [ ("subsystem" => "jgroups"), ("stack" => "udp"), ("protocol" => "org.jgroups.protocols.AUTH") ] does not exist; a resource at address [ ("subsystem" => "jgroups"), ("stack" => "udp"), ("protocol" => "org.jgroups.protocols.AUTH"), ("property" => "auth_class") ] cannot be created until all ancestor resources have been added

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: