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

EJB - application security domain doesn't remove capability

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 34.0.0.Final
    • None
    • EJB
    • None

      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: