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

JGroups backward compatibility - adding AUTH with deprecated operations fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.ER2
    • 7.1.0.ER1
    • Clustering
    • None
    • 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

            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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: