Details
-
Bug
-
Resolution: Done
-
Major
-
2.0.0.Alpha2
Description
Once a server is in the state reload-required capabilities and requirements are no longer checked e.g.: -
[standalone@localhost:9990 /] ./core-service=management/management-interface=http-interface:undefine-attribute(name=security-realm) { "outcome" => "success", "response-headers" => { "operation-requires-reload" => true, "process-state" => "reload-required" } }
The following command is referencing a non-existent capability: -
[standalone@localhost:9990 /] ./core-service=management/management-interface=http-interface:write-attribute(name=security-domain, value=MgMtDom) { "outcome" => "success", "response-headers" => { "operation-requires-reload" => true, "process-state" => "reload-required" } }
When I execute :reload it will fail: -
11:21:18,567 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([ ("core-service" => "management"), ("management-interface" => "http-interface") ]): java.lang.IllegalStateException: WFLYCTL0364: Capability 'org.wildfly.security.security-domain.MgMtDom' is unknown. at org.jboss.as.controller.ModelControllerImpl$CapabilityRegistryImpl.getCapabilityRegistration(ModelControllerImpl.java:1388)