Description of problem: If user creates a new security domain and authentication/authorization resource, subsequent reload/restart clears those resources. Steps to Reproduce: 1. start the server 2. connect to cli 3. run commands: /subsystem=security/security-domain=new:add /subsystem=security/security-domain=new/authentication=classic:add :reload /subsystem=security/security-domain=new/authentication=classic/login-module=Remoting:add(flag=optional) Actual results: { "outcome" => "failed", "failure-description" => "JBAS014766: Resource [ (\"subsystem\" => \"security\"), (\"security-domain\" => \"new\"), (\"authentication\" => \"classic\") ] does not exist; a resource at address [ (\"subsystem\" => \"security\"), (\"security-domain\" => \"new\"), (\"authentication\" => \"classic\"), (\"login-module\" => \"Remoting\") ] cannot be created until all ancestor resources have been added", "rolled-back" => true } Expected results: There is no element <authentication>/<authorization> in relevant section of standalone.xml. Maybe empty elements could help.
*** This bug has been marked as a duplicate of bug 1029928 ***