[jboss-jira] [JBoss JIRA] (WFCORE-716) Once server in reload-required state capabilities no longer checked at stage Model.

Darran Lofthouse (JIRA) issues at jboss.org
Wed May 27 06:22:02 EDT 2015


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 at 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 at 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)


More information about the jboss-jira mailing list