6 Replies Latest reply on Jul 29, 2013 9:46 AM by Marco Ardito

    is teiid 8.4 on as7 supported? (install troubles)

    Marco Ardito Master

      hi all,

       

      I have a working 8.2/as7 and now i would like to test 8.4 on the same as7 version (7.1.1 final)

       

      first of all, I'm on win7x64 for testing

       

      started with as7 as separte folder

       

      - I've unzipped as7, I've run bin\add-user.bat

      - launching it as bin\standalone.bat I can login to the web console with that user. then stopped as7

       

      then followed this https://docs.jboss.org/author/display/teiid84final/Installation+Guide

       

      - downloaded teiid-8.4.0.Final-jboss-dist, and overlapped folders to as7

      - then launched "bin\standalone.bat -c standalone-teiid.xml"

       

      crashed, and complained with

      javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,1]

       

      in standalone-teiid.xml line 3,1 is

      <server xmlns="urn:jboss:domain:1.4">

      while as7 default standalone.xml  has

      <server xmlns="urn:jboss:domain:1.2">

       

      tried giving that also to standalone-teiid.xml, goes a bit further but then other "Failed to parse configuration" statements appear (i will append the whole log below)

       

      I'm starting to think "is teiid 8.4 on as7 supported?"

       

      Marco

       

      Calling "D:\sviluppo\jboss-as-7.1.1.Final_teiid84\bin\standalone.conf.bat"

      ===============================================================================

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: D:\sviluppo\jboss-as-7.1.1.Final_teiid84

       

        JAVA: C:\Program Files (x86)\Java\jre7\bin\java

       

        JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.se

      rver.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.c

      onfig=standalone.xml

       

      ===============================================================================

       

      14:32:15,666 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      14:32:15,833 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      14:32:15,882 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      14:32:16,413 ERROR [org.jboss.as.server] JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS01

      4676: Failed to parse configuration

              at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Fin

      al]

              at org.jboss.as.server.ServerService.boot(ServerService.java:266) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_25]

      Caused by: javax.xml.stream.XMLStreamException: Failed to load module org.jboss.as.jsf

              at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:154) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(StandaloneXml.java:305) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:127) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100) [jboss-as-server-7.1.1.Final.jar:7.1.1.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:133) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Fin

      al]

              ... 3 more

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

              at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) [rt.jar:1.7.0_25]

              at java.util.concurrent.FutureTask.get(Unknown Source) [rt.jar:1.7.0_25]

              at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:146) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              ... 9 more

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

              at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:195) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

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

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

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

              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [rt.jar:1.7.0_25]

              at java.util.concurrent.FutureTask.run(Unknown Source) [rt.jar:1.7.0_25]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_25]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_25]

              at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_25]

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

      Caused by: org.jboss.modules.ModuleNotFoundException: Module org.jboss.as.jsf:main is not found in local module loader @6be4cc (roots: D:\sviluppo\jboss-as-7.1.

      1.Final_teiid84\modules)

              at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:204) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:177) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              ... 9 more

       

      14:32:16,520 FATAL [org.jboss.as.server] JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

      14:32:16,533 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 4ms

        • 1. Re: is teiid 8.4 on as7 supported? (install troubles)
          Ramesh Reddy Master

          Use EAP 6.1 Alpha, it is equivalent to AS 7.2.Final and has same licensing model.

          • 2. Re: is teiid 8.4 on as7 supported? (install troubles)
            Marco Ardito Master

            thanks, i tried 8.4 on eap  and went much more further...

            i can run eap alone, no problems.

            trying teiid 8,4 i still get some traceback, though...  is this relevant? how to correct?

             

            Marco

             

            ==============================

             

            14:53:02,974 INFO  [org.jboss.as.remoting] (MSC service thread 1-3)  JBAS017100: Listening on 127.0.0.1:9999

            14:53:02,975 INFO  [org.jboss.as.remoting] (MSC service thread 1-1)  JBAS017100: Listening on 0.0.0.0:4447

            14:53:06,409 INFO  [org.jboss.web] (ServerService Thread Pool -- 52)  JBAS018210: Register web context: /odata

            14:53:07,637 INFO  [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 52)  HV000001: Hibernate Validator 4.3.1.Final

            14:53:07,730 INFO  [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 52)  Deploying javax.ws.rs.core.Application: class org.teiid.odata.

            TeiidODataApplication

            14:53:09,659 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/odata]] (ServerService Thread Pool -- 52)  JBWEB000287: Exception sendin

            g context initialized event to listener instance of class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap: java.lang.IllegalArgumentException: Illeg

            al group reference

                    at java.util.regex.Matcher.appendReplacement(Unknown Source) [rt.jar:1.7.0_25]

                    at org.jboss.resteasy.util.Encode.pathParamReplacement(Encode.java:434) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.util.Encode.encodeValue(Encode.java:314) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.util.Encode.encodePath(Encode.java:167) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.specimpl.UriBuilderImpl.paths(UriBuilderImpl.java:222) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.specimpl.UriBuilderImpl.path(UriBuilderImpl.java:295) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.core.ResourceMethodRegistry.processMethod(ResourceMethodRegistry.java:262) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:124) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:106) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:83) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.core.ResourceMethodRegistry.addPerRequestResource(ResourceMethodRegistry.java:72) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:405) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:233) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap.contextInitialized(ResteasyBootstrap.java:28) [resteasy-jaxrs-2.3.5.Final.jar:]

                    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                    at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4

            ]

                    at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat

            -4]

                    at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [rt.jar:1.7.0_25]

                    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [rt.jar:1.7.0_25]

                    at java.util.concurrent.FutureTask.run(Unknown Source) [rt.jar:1.7.0_25]

                    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_25]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_25]

                    at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_25]

                    at org.jboss.threads.JBossThread.run(JBossThread.java:122)

             

            14:53:09,822 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 52)  JBWEB001103: Error detected during context /odata start, will stop it

            14:53:09,847 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 52)  MSC00001: Failed to start service jboss.web.deployment.default-host./odata: o

            rg.jboss.msc.service.StartException in service jboss.web.deployment.default-host./odata: org.jboss.msc.service.StartException in anonymous service: JBAS018040:

            Failed to start context

                    at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)

                    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [rt.jar:1.7.0_25]

                    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [rt.jar:1.7.0_25]

                    at java.util.concurrent.FutureTask.run(Unknown Source) [rt.jar:1.7.0_25]

                    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_25]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_25]

                    at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_25]

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

            Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context

                    at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)

                    at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)

                    at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)

                    ... 7 more

             

            14:53:10,150 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 44)  JBAS018559: Deployed "teiid-odata-8.4.0.Final.war" (runtime-name : "teiid-odata-8.4.

            0.Final.war")

            14:53:10,152 INFO  [org.jboss.as.controller] (Controller Boot Thread)  JBAS014774: Service status report

            JBAS014777:   Services which failed to start:      service jboss.web.deployment.default-host./odata: org.jboss.msc.service.StartException in service jboss.web.d

            eployment.default-host./odata: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context

             

            14:53:11,226 INFO  [org.jboss.as] (Controller Boot Thread)  JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

            14:53:11,227 INFO  [org.jboss.as] (Controller Boot Thread)  JBAS015951: Admin console listening on http://127.0.0.1:9990

            14:53:11,231 ERROR [org.jboss.as] (Controller Boot Thread)  JBAS015875: JBoss EAP 6.1.0.Alpha1 (AS 7.2.0.Alpha1-redhat-4) started (with errors) in 14789ms - Sta

            rted 264 of 338 services (2 services failed or missing dependencies, 71 services are passive or on-demand)

            • 3. Re: is teiid 8.4 on as7 supported? (install troubles)
              Ramesh Reddy Master

              Marco,

               

              That is not expected, I will try with fresh install on my machine and try to duplicate the error. I will let you know what I find out. However, it should not affect you if you are not using OData feature in Teiid.

               

              Ramesh..

              • 4. Re: is teiid 8.4 on as7 supported? (install troubles)
                Ramesh Reddy Master

                BTW, there is RestEASY patch we defined right under the 8.4 Download did you apply that? That is required for OData support.

                1 of 1 people found this helpful
                • 5. Re: is teiid 8.4 on as7 supported? (install troubles)
                  Steven Hawkins Master

                  I have seen this stacktrace when running the IntegrationTestRestWebserviceGeneration test (it may be happening in others, but that was the one I had run the other day).  My guess was that it was related to using the non-upgraded Resteasy version that's included in the arquillian referenced EAP.  Marco, did this exception come from an EAP instance with or without an updated Resteasy version?

                   

                  Steve

                  • 6. Re: is teiid 8.4 on as7 supported? (install troubles)
                    Marco Ardito Master

                    Hi all,

                     

                    grr, eap was unpatched, I didn't notice the patch on the download page. Installed as instructed there, now the stack trace is clean :-) thanks

                     

                    now, back to deploy my ds and vbs...

                     

                    Marco