Darran Lofthouse created WFCORE-716:
---------------------------------------
Summary: Once server in reload-required state capabilities no longer checked
at stage Model.
Key: WFCORE-716
URL:
https://issues.jboss.org/browse/WFCORE-716
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 2.0.0.Alpha2
Reporter: Darran Lofthouse
Assignee: Brian Stansberry
Fix For: 2.0.0.Alpha3
Once a server is in the state reload-required capabilities and requirements are no longer
checked e.g.: -
{noformat}
[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"
}
}
{noformat}
The following command is referencing a non-existent capability: -
{noformat}
[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"
}
}
{noformat}
When I execute :reload it will fail: -
{noformat}
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)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)