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

Toggling default singleton election policy fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.ER3
    • 7.1.0.ER2
    • Clustering
    • None

      [standalone@localhost:9990 /] /subsystem=singleton/singleton-policy=foo/election-policy=random:add{allow-resource-service-restart=true
      {"outcome" => "success"}
      [standalone@localhost:9990 /] /subsystem=singleton/singleton-policy=foo/election-policy=simple:add{allow-resource-service-restart=true
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0436: Cannot register capability 'org.wildfly.clustering.singleton.policy.election.foo' at location '[
          (\"subsystem\" => \"singleton\"),
          (\"singleton-policy\" => \"foo\"),
          (\"election-policy\" => \"simple\")
      ]' as it is already registered in context 'global' at location(s) '[[
          (\"subsystem\" => \"singleton\"),
          (\"singleton-policy\" => \"foo\"),
          (\"election-policy\" => \"random\")
      ]]'",
          "rolled-back" => true
      }
      

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: