0 Replies Latest reply on Aug 27, 2015 11:20 PM by Vira Saksen

    Caught exception during boot (Failed to load module org.wildfly.extension.undertow)

    Vira Saksen Newbie

      Hi, I'm trying to start my container which is deployed on wildfly 8.2.0.

      The project's previously deployed on wildfly 8.1.0.

       

      Upon start up I get these following errors

       

      2015-08-28 04:11:53,346 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration

          at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

          at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

          at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:259) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

      Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module org.wildfly.extension.undertow

          at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:155) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

          at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:434) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

          at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

          at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

          at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

          at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

          at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:104) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

          ... 3 more

      Caused by: java.util.concurrent.ExecutionException: java.lang.VerifyError: Uninitialized object exists on backward branch 321 in method org.wildfly.extension.undertow.ServletContainerAdd.installRuntimeServices(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;Ljava/util/List;Ljava/lang/String;)V at offset 549

          at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) [rt.jar:1.7.0_21]

          at java.util.concurrent.FutureTask.get(FutureTask.java:111) [rt.jar:1.7.0_21]

          at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:147) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

          ... 9 more

      Caused by: java.lang.VerifyError: Uninitialized object exists on backward branch 321 in method org.wildfly.extension.undertow.ServletContainerAdd.installRuntimeServices(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;Ljava/util/List;Ljava/lang/String;)V at offset 549

          at org.wildfly.extension.undertow.ServletContainerDefinition.<init>(ServletContainerDefinition.java:142)

          at org.wildfly.extension.undertow.ServletContainerDefinition.<clinit>(ServletContainerDefinition.java:47)

          at org.wildfly.extension.undertow.UndertowRootDefinition.<clinit>(UndertowRootDefinition.java:75)

          at org.wildfly.extension.undertow.UndertowSubsystemParser_1_0.<clinit>(UndertowSubsystemParser_1_0.java:60)

          at org.wildfly.extension.undertow.UndertowExtension.initializeParsers(UndertowExtension.java:79)

          at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:183) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

          at org.jboss.as.controller.parsing.ExtensionXml.access$000(ExtensionXml.java:69) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

          at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:127) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

          at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:124) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_21]

          at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_21]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

      2015-08-28 04:11:53,353 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

      2015-08-28 04:11:53,376 INFO  [org.jboss.as] (MSC service thread 1-3) JBAS015950: WildFly 8.2.0.Final "Tweek" stopped in 6ms

       

       

      It seems that it failed to load undertow because of some uninitialized objects.

       

      in the standalone.xml, the undertow section is this:

      <subsystem xmlns="urn:jboss:domain:undertow:1.1">

                  <buffer-cache name="default" />

                  <server name="default-server">

                      <http-listener name="default" socket-binding="http" />

                      <https-listener name="https" socket-binding="https" security-realm="HttpsRealm" />

                      <host name="default-host" alias="localhost">

                          <location name="/" handler="welcome-content" />

                          <filter-ref name="server-header" />

                          <filter-ref name="x-powered-by-header" />

                      </host>

                  </server>

                  <servlet-container name="default">

                      <jsp-config />

                  </servlet-container>

                  <handlers>

                      <file name="welcome-content" path="${jboss.home.dir}/welcome-content" />

                  </handlers>

                  <filters>

                      <response-header name="server-header" header-name="Server" header-value="WildFly/8" />

                      <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1" />

                  </filters>

              </subsystem>

       

       

       

      Is there anyone who has come across a similar issue or anyone has any idea how this error comes about?

       

      Thanks alot in advance