2 Replies Latest reply: Jun 28, 2012 5:07 PM by Reza Aarian RSS

    Issue starting JBoss AS 7.1 and GateIn Portal 3.3.0 in JBoss Developer Studio 5.0

    Reza Aarian Newbie

      I have an issue with starting a bundle of JBoss AS 7.1 and GateIn Portal 3.3.0 from within the JBoss Developer Studio 5.0.

       

      I downloaded the installation file from https://www.jboss.org/gatein/downloads/gateinportal, unzipped it and completed the process of adding the server to the IDE, but starting the server from within the IDE fails with the exception below. Please note that the same bundle of the JBoss AS 7.1 and GateIn Portal 3.3 can be started successfully from outside the IDE by running the server start batch file (JBOSS_HOME/bin/standalone.bat).

       

      I have also installed JBoss AS 7.1 (without GateIn Portal) and could successfully add it to the IDE and start the server from within the IDE. So the problem seems to be with the JBoss AS 7.1/GateIn Portal 3.3 bundle. Any help would be much appreciated.

       

      00:45:48,906 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA

      00:45:49,468 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA

      00:45:49,562 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting

      00:45:50,734 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.0.Final "Thunder" stopped in 6ms

      00:45:50,734 ERROR [org.jboss.as.controller] JBAS014601: Error booting the container: java.lang.RuntimeException: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration

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

                  at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_27]

      Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration

                  at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:125) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]

                  at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:187) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]

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

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

                  ... 1 more

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

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

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

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

                  at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100) [jboss-as-server-7.1.0.Final.jar:7.1.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:117) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]

                  ... 4 more

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

                  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) [rt.jar:1.6.0_27]

                  at java.util.concurrent.FutureTask.get(FutureTask.java:83) [rt.jar:1.6.0_27]

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

                  ... 10 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.0.Final.jar:7.1.0.Final]

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

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

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

                  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_27]

                  at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_27]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_27]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_27]

                  at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_27]

                  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.gatein.wci:main is not found in local module loader @10ab323 (roots: C:\GateIn-3.3.0-GA-jbossas7\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.Module.addPaths(Module.java:841) [jboss-modules.jar:1.1.1.GA]

                  at org.jboss.modules.Module.link(Module.java:1181) [jboss-modules.jar:1.1.1.GA]

                  at org.jboss.modules.Module.relinkIfNecessary(Module.java:1207) [jboss-modules.jar:1.1.1.GA]

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

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