1 Reply Latest reply on Aug 28, 2013 6:21 AM by jaikiran pai

    JBoss-AS Error on startup

    ice hawk Newbie

      Hello,

      I am trying to run JBoss AS on Fedora 19 and experiencing an error during startup.

      I havent done any configuration changes, just installed and tryed to start.

       

      Here is my terminal printout:

       

      [martin@localhost bin]$ uname -a
      Linux localhost.localdomain 3.10.9-200.fc19.x86_64 #1 SMP Wed Aug 21 19:27:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
      [martin@localhost bin]$ sudo  yum install -y jboss-as
      [...]
      [martin@localhost bin]$ sudo ./standalone.sh -V
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /usr/share/jboss-as
      
        JAVA: java
      
        JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml
      
      =========================================================================
      
      12:07:33,724 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
      JBoss AS 7.1.1.Final "Brontes"
      
      [martin@localhost bin]$ sudo /usr/share/jboss-as/bin/standalone.sh 
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /usr/share/jboss-as
      
        JAVA: java
      
        JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml
      
      =========================================================================
      
      11:27:26,964 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
      11:27:28,920 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
      11:27:29,211 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
      11:27:37,362 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
      11:27:37,371 INFO  [org.xnio] XNIO Version 3.0.3.GA
      11:27:37,564 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
      11:27:37,678 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.4.GA
      11:27:37,949 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
      11:27:37,983 INFO  [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem
      11:27:38,158 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
      11:27:38,182 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
      11:27:38,158 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
      11:27:38,170 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
      11:27:38,385 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
      11:27:38,620 INFO  [org.jboss.as.security] (MSC service thread 1-4) JBAS013100: Current PicketBox version=4.0.6.final
      11:27:38,806 INFO  [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
      11:27:39,837 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service
      11:27:40,223 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
      11:27:40,487 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
      11:27:41,034 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
      11:27:41,413 FATAL [org.jboss.as.webservices] (MSC service thread 1-2) JBAS015577: Error while creating configuration service
      11:27:41,437 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.ws.config: org.jboss.msc.service.StartException in service jboss.ws.config: java.lang.RuntimeException: org.jboss.modules.ModuleLoadException: Error loading module from /usr/share/jboss-as/modules/org/apache/ws/security/main/module.xml
          at org.jboss.as.webservices.service.ServerConfigService.start(ServerConfigService.java:72)
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc.jar:1.0.2.GA]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
          at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
      Caused by: java.lang.RuntimeException: org.jboss.modules.ModuleLoadException: Error loading module from /usr/share/jboss-as/modules/org/apache/ws/security/main/module.xml
          at org.jboss.as.webservices.util.ModuleClassLoaderProvider.getServerIntegrationClassLoader(ModuleClassLoaderProvider.java:56)
          at org.jboss.ws.common.management.AbstractServerConfig.create(AbstractServerConfig.java:199)
          at org.jboss.as.webservices.service.ServerConfigService.start(ServerConfigService.java:69)
          ... 5 more
      Caused by: org.jboss.modules.ModuleLoadException: Error loading module from /usr/share/jboss-as/modules/org/apache/ws/security/main/module.xml
          at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:292)
          at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:242)
          at org.jboss.modules.LocalModuleLoader.parseModuleInfoFile(LocalModuleLoader.java:138)
          at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:122)
          at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)
          at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)
          at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)
          at org.jboss.modules.Module.addPaths(Module.java:841)
          at org.jboss.modules.Module.link(Module.java:1196)
          at org.jboss.modules.Module.relinkIfNecessary(Module.java:1225)
          at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)
          at org.jboss.as.webservices.util.ModuleClassLoaderProvider.getServerIntegrationClassLoader(ModuleClassLoaderProvider.java:53)
          ... 7 more
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[31,42]
      Message: Failed to add resource root 'wss4j.jar' at path 'wss4j.jar'
          at org.jboss.modules.ModuleXmlParser.parseResourceRoot(ModuleXmlParser.java:898)
          at org.jboss.modules.ModuleXmlParser.parseResources(ModuleXmlParser.java:854)
          at org.jboss.modules.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:676)
          at org.jboss.modules.ModuleXmlParser.parseDocument(ModuleXmlParser.java:548)
          at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:287)
          ... 18 more
      
      11:27:41,507 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 48) JBAS014612: Operation ("add") failed - address: ([("subsystem" => "webservices")]): org.jboss.modules.ModuleLoadError: Error loading module from /usr/share/jboss-as/modules/org/apache/ws/security/main/module.xml
          at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:78) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.Module.getPathsUnchecked(Module.java:1181) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.Module.loadModuleClass(Module.java:512) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]
          at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_25]
          at java.lang.Class.forName(Class.java:270) [rt.jar:1.7.0_25]
          at org.jboss.as.webservices.parser.WSDeploymentAspectParser.parseDeploymentAspect(WSDeploymentAspectParser.java:137)
          at org.jboss.as.webservices.parser.WSDeploymentAspectParser.parseDeploymentAspects(WSDeploymentAspectParser.java:119)
          at org.jboss.as.webservices.parser.WSDeploymentAspectParser.parse(WSDeploymentAspectParser.java:97)
          at org.jboss.as.webservices.parser.WSDeploymentAspectParser.parse(WSDeploymentAspectParser.java:74)
          at org.jboss.as.webservices.deployers.deployment.DeploymentAspectsProvider.getDeploymentAspects(DeploymentAspectsProvider.java:72)
          at org.jboss.as.webservices.deployers.deployment.DeploymentAspectsProvider.getSortedDeploymentAspects(DeploymentAspectsProvider.java:54)
          at org.jboss.as.webservices.dmr.WSDeploymentActivator.addDeploymentProcessors(WSDeploymentActivator.java:77)
          at org.jboss.as.webservices.dmr.WSDeploymentActivator.activate(WSDeploymentActivator.java:71)
          at org.jboss.as.webservices.dmr.WSSubsystemAdd$1.execute(WSSubsystemAdd.java:118)
          at org.jboss.as.server.AbstractDeploymentChainStep.execute(AbstractDeploymentChainStep.java:45)
          at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:311) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
          at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads.jar:2.0.0.GA]
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[31,42]
      Message: Failed to add resource root 'wss4j.jar' at path 'wss4j.jar'
          at org.jboss.modules.ModuleXmlParser.parseResourceRoot(ModuleXmlParser.java:898) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.ModuleXmlParser.parseResources(ModuleXmlParser.java:854) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:676) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.ModuleXmlParser.parseDocument(ModuleXmlParser.java:548) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:287) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:242) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.LocalModuleLoader.parseModuleInfoFile(LocalModuleLoader.java:138) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:122) [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:1196) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.Module.getPaths(Module.java:1156) [jboss-modules.jar:1.1.1.GA]
          at org.jboss.modules.Module.getPathsUnchecked(Module.java:1179) [jboss-modules.jar:1.1.1.GA]
          ... 26 more
      
      11:27:44,624 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]