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

[GSS](8.0.z) WFLY-19843 - Cloning a profile twice results in failed outcome

XMLWordPrintable

      Cloning a profile with a target profile name of test, removing the cloned test profile again and then cloning another profile with a target profile name of test results in failed outcome, see:

      [domain@localhost:9990 /] /profile=default:clone(to-profile=test)
      {
          "outcome" => "success",
          "result" => undefined,
          "server-groups" => undefined
      }
      
      [domain@localhost:9990 /] /profile=test:remove
      {
          "outcome" => "success",
          "result" => undefined,
          "server-groups" => undefined
      }
      
      [domain@localhost:9990 /] /profile=ha:clone(to-profile=test)
      {
          "outcome" => "failed",
          "failure-description" => {"domain-failure-description" => "WFLYCTL0436: Cannot register capability 'org.wildfly.ejb3.application-security-domain.known-deployments.other' at location '[
          (\"profile\" => \"test\"),
          (\"subsystem\" => \"ejb3\"),
          (\"application-security-domain\" => \"other\")
      ]' as it is already registered in context 'profile=test' at location(s) '[[
          (\"profile\" => \"test\"),
          (\"subsystem\" => \"ejb3\"),
          (\"application-security-domain\" => \"other\")
      ]]'"},
          "rolled-back" => true
      }
      

            mpetrov@redhat.com Michal Petrov
            rhn-support-jbaesner Joerg Baesner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: