Why JBoss is not able to parse domain.xml after upgrading to EAP 6.2.0

Solution Verified - Updated -

Issue

  • After replacing the content of domain.xml from EAP 6.2.0 to EAP 6.1.1, we also added the element <management> which was present in domain.xml of EAP 6.2.0. Then started JBoss and getting the following ERROR stack trace while migrating from JBoss EAP 6.1.1 to EAP 6.2.0:
[Host Controller] 12:04:24,250 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010932: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration
[Host Controller]   at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141) [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
[Host Controller]   at org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:478) [jboss-as-host-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
[Host Controller]   at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:253) [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
[Host Controller]   at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
[Host Controller] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[40,5]
[Host Controller] Message: JBAS014789: Unexpected element '{urn:jboss:domain:1.4}management' encountered
[Host Controller]   at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:86) [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
[Host Controller]   at org.jboss.as.host.controller.parsing.DomainXml.readDomainElement1_4(DomainXml.java:452) [jboss-as-host-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
[Host Controller]   at org.jboss.as.host.controller.parsing.DomainXml.readElement(DomainXml.java:142) [jboss-as-host-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
[Host Controller]   at org.jboss.as.host.controller.parsing.DomainXml.readElement(DomainXml.java:112) [jboss-as-host-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
[Host Controller]   at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
[Host Controller]   at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
[Host Controller]   at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133) [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.