3 Replies Latest reply on Aug 16, 2018 1:04 PM by rareddy

    Error when running Teiid Server [WildFly 9.x]

    ts-giulio.brusa

      I am trying to create and run a Teiid instance so that I can import and override some Teiid translators. However, when I try to run the Teiid instance I get this error:

      11:27:12,352 ERROR [org.jboss.as.server] (Controller Boot Thread)  WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration

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

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

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

      at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]

      Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to load module org.jboss.teiid

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

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

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

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

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

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

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

      ... 3 more

      Caused by: java.util.concurrent.ExecutionException: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to load module

      at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.8.0_171]

      at java.util.concurrent.FutureTask.get(FutureTask.java:192) [rt.jar:1.8.0_171]

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

      ... 9 more

      Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to load module

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

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

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

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

      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_171]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]

      at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]

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

      Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.teiid:main

      at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:236) [jboss-modules.jar:1.4.3.Final]

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

      ... 8 more

       

       

      11:27:12,360 FATAL [org.jboss.as.server] (Controller Boot Thread)  WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

      I believe it may be due to errors in the "standalone-teiid.xml" file I'm using, however, I can't quite tell what in the file is causing this problem.

       

      I am using WildFly 9.0.2.FINAL and connecting to my localhost, if that makes a difference. As a result I'm also using teiid-9.3.7.

        • 1. Re: Error when running Teiid Server [WildFly 9.x]
          rareddy

          I believe Teiid 9.x was written to work with WildFly 10, not WildFly 9. Reinstall on WildFly 10, or download the integrated Server version here https://repository.jboss.org/nexus/service/local/repositories/releases/content/org/jboss/teiid/teiid/9.3.7/teiid-9.3.7-w…

           

          The older versions can be seen at 9.x Downloads · Teiid  or generally at Downloads · Teiid

           

          Ramesh..

          • 2. Re: Error when running Teiid Server [WildFly 9.x]
            ts-giulio.brusa

            Thanks! I made a server using WildFly 10 and still got similar errors, which I attached below:

            08:44:13,939 ERROR [org.jboss.as.server] (Controller Boot Thread)  WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration

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

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

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

            at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]

            Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to load module org.jboss.teiid

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

            at org.jboss.as.server.parsing.StandaloneXml$DefaultExtensionHandler.parseExtensions(StandaloneXml.java:126) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]

            at org.jboss.as.server.parsing.StandaloneXml_Legacy.readServerElement_1_4(StandaloneXml_Legacy.java:424) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]

            at org.jboss.as.server.parsing.StandaloneXml_Legacy.readElement(StandaloneXml_Legacy.java:135) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]

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

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

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

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

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

            ... 3 more

            Caused by: java.util.concurrent.ExecutionException: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to load module

            at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.8.0_171]

            at java.util.concurrent.FutureTask.get(FutureTask.java:192) [rt.jar:1.8.0_171]

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

            ... 11 more

            Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to load module

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

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

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

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

            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_171]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]

            at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]

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

            Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.teiid:main

            at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:223) [jboss-modules.jar:1.5.2.Final]

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

            ... 8 more

             

             

            08:44:13,955 FATAL [org.jboss.as.server] (Controller Boot Thread)  WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

            Is it still something wrong with my configurations or am I skipping a step?

             

            Thanks!

            Leo

            1 of 1 people found this helpful
            • 3. Re: Error when running Teiid Server [WildFly 9.x]
              rareddy

              I have no clue what you may have done, just download from the link I provided, unzip and start with

               

              <install-dir>/bin/standalone.sh -c standalone-teiid.xml

               

              Ramesh..