0 Replies Latest reply on Sep 11, 2014 7:34 AM by Rakesh Kumar

    Module system:main in local module loader

    Rakesh Kumar Newbie

      Hello, I am getting  org.jboss.modules.ModuleNotFoundException: Module system:main is not found in local module loader. Here I don't know about about how to configure system module. When I am trying to deploy my existing project in JBoss7.1.1Final then i am stucking here.

      Follwing is full server log.


       

       

      17:02:00,028 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
      17:02:00,043 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
      17:02:00,088 INFO  [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
      17:02:00,095 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
      17:02:00,105 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
      17:02:00,114 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
      17:02:00,116 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
      17:02:00,124 INFO  [org.jboss.as.security] (MSC service thread 1-7) JBAS013100: Current PicketBox version=4.0.7.Final
      17:02:00,128 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
      17:02:00,204 INFO  [org.jboss.as.naming] (MSC service thread 1-8) JBAS011802: Starting Naming Service
      17:02:00,230 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mail/Default]
      17:02:00,354 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-5) JBoss Web Services - Stack CXF Server 4.0.2.GA
      17:02:00,473 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
      17:02:00,775 WARN  [com.arjuna.ats.arjuna] (Transaction Expired Entry Monitor) ARJUNA012210: Unable to use InetAddress.getLocalHost() to resolve address.
      17:02:00,978 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010400: Bound data source [java:jboss/datasources/EclipseLinkDS]
      17:02:01,067 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on localhost/127.0.0.1:9999
      17:02:01,066 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on localhost/127.0.0.1:4447
      17:02:01,087 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory /home/idsjava04/Rakesh/Software/jboss-as-7.1.1.Final/standalone/deployments
      17:02:01,223 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found JPMSEAR.ear in deployment directory. To trigger deployment create a file called JPMSEAR.ear.dodeploy
      17:02:01,245 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "JPMSEAR.ear"
      17:02:01,783 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "JPMS.war"
      17:02:01,783 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "JPMSEJB.jar"
      17:02:03,797 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015850: /home/idsjava04/Rakesh/Software/jboss-as-7.1.1.Final/standalone/deployments/JPMSEAR.ear/JPMS.war/WEB-INF/jboss-deployment-structure.xml in subdeployment ignored. jboss-deployment-structure.xml is only parsed for top level deployments.
      17:02:03,848 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read persistence.xml for JBossPU
      17:02:04,101 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'moduleName=groovy-all' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
      17:02:04,101 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'moduleVersion=2.0.1' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
      17:02:04,102 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'extensionClasses=org.codehaus.groovy.jsr223.ScriptExtensions,org.codehaus.groovy.runtime.SqlGroovyMethods,org.codehaus.groovy.runtime.SwingGroovyMethods,org.codehaus.groovy.runtime.XmlGroovyMethods' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
      17:02:04,103 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'staticExtensionClasses=org.codehaus.groovy.jsr223.ScriptStaticExtensions' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
      17:02:04,337 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.module.service."deployment.JPMSEAR.ear".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.JPMSEAR.ear".main: Failed to load module: deployment.JPMSEAR.ear:main
          at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]
          at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
      Caused by: org.jboss.modules.ModuleNotFoundException: Module system:main is not found in local module loader @5c1ccea9 (roots: /home/idsjava04/Rakesh/Software/jboss-as-7.1.1.Final/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.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          ... 5 more

       

      17:02:04,375 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015951: Admin console listening on http://127.0.0.1:9990
      17:02:04,376 ERROR [org.jboss.as] (MSC service thread 1-6) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 6136ms - Started 152 of 236 services (3 services failed or missing dependencies, 80 services are passive or on-demand)
      17:02:04,417 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.module.service."deployment.JPMSEAR.ear.JPMSEJB.jar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.JPMSEAR.ear.JPMSEJB.jar".main: Failed to load module: deployment.JPMSEAR.ear.JPMSEJB.jar:main
          at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]
          at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
      Caused by: org.jboss.modules.ModuleNotFoundException: Module system:main is not found in local module loader @5c1ccea9 (roots: /home/idsjava04/Rakesh/Software/jboss-as-7.1.1.Final/modules)
          at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126)
          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:1181)
          at org.jboss.modules.Module.relinkIfNecessary(Module.java:1207)
          at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)
          at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          ... 5 more

       

      17:02:04,459 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.module.service."deployment.JPMSEAR.ear.JPMS.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.JPMSEAR.ear.JPMS.war".main: Failed to load module: deployment.JPMSEAR.ear.JPMS.war:main
          at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]
          at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
      Caused by: org.jboss.modules.ModuleNotFoundException: Module system:main is not found in local module loader @5c1ccea9 (roots: /home/idsjava04/Rakesh/Software/jboss-as-7.1.1.Final/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.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          ... 5 more

       

      17:02:04,569 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "JPMSEAR.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.JPMSEAR.ear.JPMS.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.JPMSEAR.ear.JPMS.war\".main: Failed to load module: deployment.JPMSEAR.ear.JPMS.war:main","jboss.module.service.\"deployment.JPMSEAR.ear.JPMSEJB.jar\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.JPMSEAR.ear.JPMSEJB.jar\".main: Failed to load module: deployment.JPMSEAR.ear.JPMSEJB.jar:main","jboss.module.service.\"deployment.JPMSEAR.ear\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.JPMSEAR.ear\".main: Failed to load module: deployment.JPMSEAR.ear:main"}}
      17:02:04,587 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment JPMSEJB.jar in 14ms
      17:02:04,634 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment JPMS.war in 61ms
      17:02:04,635 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment JPMSEAR.ear in 63ms
      17:02:04,637 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
      JBAS014777:   Services which failed to start:      service jboss.module.service."deployment.JPMSEAR.ear.JPMS.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.JPMSEAR.ear.JPMS.war".main: Failed to load module: deployment.JPMSEAR.ear.JPMS.war:main
            service jboss.module.service."deployment.JPMSEAR.ear.JPMSEJB.jar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.JPMSEAR.ear.JPMSEJB.jar".main: Failed to load module: deployment.JPMSEAR.ear.JPMSEJB.jar:main
            service jboss.module.service."deployment.JPMSEAR.ear".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.JPMSEAR.ear".main: Failed to load module: deployment.JPMSEAR.ear:main

       

      17:02:04,640 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.JPMSEAR.ear.JPMS.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.JPMSEAR.ear.JPMS.war\".main: Failed to load module: deployment.JPMSEAR.ear.JPMS.war:main","jboss.module.service.\"deployment.JPMSEAR.ear.JPMSEJB.jar\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.JPMSEAR.ear.JPMSEJB.jar\".main: Failed to load module: deployment.JPMSEAR.ear.JPMSEJB.jar:main","jboss.module.service.\"deployment.JPMSEAR.ear\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.JPMSEAR.ear\".main: Failed to load module: deployment.JPMSEAR.ear:main"}}}}
      17:02:06,900 INFO  [org.apache.catalina.core.StandardContext] (MSC service thread 1-7) Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
      17:02:06,903 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Pausing Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
      17:02:06,903 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Stopping Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080