Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1065

Can't start managed domain in --admin-only with EAP 6.4 configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.DR10
    • 7.0.0.DR9
    • Management, Migration
    • None

      When starting EAP 7.0.0.DR9 managed domain in --admin-only mode to perform :migrate operations on old subsystems [1], using an unmodified domain.xml and host.xml configuration files from EAP 6.4.0, I'm getting errors [2].

      Apparently, the domain configuration files in EAP 6.4 still contain the configadmin extension and subsystems. The standalone configuration files from EAP 6.4 no longer contain that, which is why this problem wasn't found earlier and wasn't described in JBEAP-675.

      Based on http://lists.jboss.org/pipermail/wildfly-dev/2015-August/004306.html, I'm expecting that I don't have to perform any changes to the EAP 6.4 configuration files.

      [1]

      unzip jboss-eap-6.4.0.zip
      unzip jboss-eap-7.0.0.DR9.zip
      rm jboss-eap-7.0/domain/configuration/*.xml
      cp jboss-eap-6.4/domain/configuration/domain.xml jboss-eap-7.0/domain/configuration/
      cp jboss-eap-6.4/domain/configuration/host.xml jboss-eap-7.0/domain/configuration/
      ./jboss-eap-7.0/bin/domain.sh --admin-only
      

      [2]

      [Host Controller] 09:21:47,835 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:131)
      [Host Controller] 	at org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:673)
      [Host Controller] 	at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:272)
      [Host Controller] 	at java.lang.Thread.run(Thread.java:745)
      [Host Controller] Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to load module org.jboss.as.configadmin
      [Host Controller] 	at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:155)
      [Host Controller] 	at org.jboss.as.host.controller.parsing.DomainXml_Legacy.readDomainElement2_0(DomainXml_Legacy.java:377)
      [Host Controller] 	at org.jboss.as.host.controller.parsing.DomainXml_Legacy.readElement(DomainXml_Legacy.java:133)
      [Host Controller] 	...
      

              lthon@redhat.com Ladislav Thon
              lthon@redhat.com Ladislav Thon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: