[jboss-jira] [JBoss JIRA] (WFCORE-2139) domain-organization attribute causes error when starting domain

Claudio Miranda (JIRA) issues at jboss.org
Wed Dec 21 13:12:00 EST 2016


Claudio Miranda created WFCORE-2139:
---------------------------------------

             Summary: domain-organization attribute causes error when starting domain
                 Key: WFCORE-2139
                 URL: https://issues.jboss.org/browse/WFCORE-2139
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
            Reporter: Claudio Miranda
            Assignee: Brian Stansberry


There is error when starting/reload a domain with domain-organization filled.

{code}
:write-attribute(name=domain-organization,value="my test organization")
{
    "outcome" => "success",
    "result" => undefined,
    "server-groups" => undefined
}
reload --host=master
{code}

The server log throws 

{code}
[Host Controller] 16:06:42,629 ERROR [org.jboss.as.controller] (Controller Boot Thread) 
[Host Controller] 
[Host Controller] OPVDX001: Validation error in domain.xml ---------------------------------------
[Host Controller] |
[Host Controller] |  1: <?xml version='1.0' encoding='UTF-8'?>
[Host Controller] |  2: 
[Host Controller] |  3: <domain xmlns="urn:jboss:domain:5.0" domain-organization="my test organization">
[Host Controller] |                                          ^^^^ 'domain-organization' isn't an allowed attribute for the 'domain'
[Host Controller] |                                                 element
[Host Controller] |                                               
[Host Controller] |                                               Attributes allowed here are: name 
[Host Controller] |
[Host Controller] |  4: 
[Host Controller] |  5:     <extensions>
[Host Controller] |  6:         <extension module="org.jboss.as.clustering.infinispan"/>
[Host Controller] |
[Host Controller] | The primary underlying error message was:
[Host Controller] | > ParseError at [row,col]:[3,1]
[Host Controller] | > Message: WFLYCTL0197: Unexpected attribute 'domain-organization'
[Host Controller] | >   encountered
[Host Controller] |
[Host Controller] |-------------------------------------------------------------------------------
[Host Controller] 
[Host Controller] 16:06:42,630 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0033: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
[Host Controller]       at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:143)
[Host Controller]       at org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:738)
[Host Controller]       at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:314)
[Host Controller]       at java.lang.Thread.run(Thread.java:745)
[Host Controller] 
[Host Controller] 16:06:42,630 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
[Host Controller] 16:06:42,631 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0178: Aborting with exit code 99
{code}




--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list