Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3661

Console is adding ignored-resources element to host.xml

    XMLWordPrintable

Details

    • Feature Request
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Duplicate
    • None
    • 7.1.0.Final
    • None
    • None

    Description

      The following error occurs everytime I perform these steps: Start a DC using host-master.xml, then start a HC using host-slave.xml. Using the Console, I deleted the default servers and defined two of my own. Somewhere in that process the following <ignored-resources> element was added to my host-slave.xml:

      <domain-controller>
      <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}" security-realm="ManagementRealm">
      <ignored-resources name="ignored-resource-type"/>
      </remote>
      </domain-controller>

      If I need to restart the HC, it fails with a parsing error:

      er: java.lang.RuntimeException: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration
      [Host Controller] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:161) [jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_15]
      [Host Controller] Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration
      [Host Controller] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:125) [jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at org.jboss.as.host.controller.HostControllerConfigurationPersister.load(HostControllerConfigurationPersister.java:155) [jboss-as-host-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:311) [jboss-as-host-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] ... 1 more
      [Host Controller] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[25,13]
      [Host Controller] Message: JBAS014788: Unexpected attribute 'name' encountered
      [Host Controller] at org.jboss.as.controller.parsing.ParseUtils.unexpectedAttribute(ParseUtils.java:104) [jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml.parseIgnoredResoure(HostXml.java:874) [jboss-as-host-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml.parseRemoteDomainController1_1(HostXml.java:778) [jboss-as-host-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml.parseDomainController(HostXml.java:737) [jboss-as-host-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml.readHostElement_1_1(HostXml.java:384) [jboss-as-host-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml.readElement(HostXml.java:123) [jboss-as-host-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml.readElement(HostXml.java:101) [jboss-as-host-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
      [Host Controller] at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
      [Host Controller] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:117) [jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      [Host Controller] ... 4 more

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              rraposa_jira Rich Raposa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: