Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2139

domain-organization attribute causes error when starting domain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.0.0.Alpha25
    • None
    • Management
    • None

    Description

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

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

      The server log throws

      [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
      

      Attachments

        Activity

          People

            kwills@redhat.com Ken Wills
            cmiranda@redhat.com Claudio Miranda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: