Getting "... Unable to load console module for slot main, disabling console" WARN logs in JBoss EAP

Solution Verified - Updated -

Issue

  • Getting the below startup error while starting the JBoss EAP server. It is not affecting the functionality , but since the server is getting started with the error, we would like to investigate on this issue.
WARN  [org.jboss.as.domain.http.api] (MSC service thread 1-7) JBAS015102: Unable to load console module for slot main, disabling console
16:25:29,742 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.io.IOException: Unable to load resource handler
  at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:216) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
  at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
Caused by: java.io.IOException: Unable to load resource handler
  at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:197)
  at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:180) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
  ... 5 more
Caused by: org.jboss.modules.ModuleNotFoundException: Module org.jboss.as.domain-http-error-context:main is not found in local module loader @7f2ad19e (roots: /var/lib/jboss-eap-6.0/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.ModuleLoader.loadModule(ModuleLoader.java:204)
  at org.jboss.as.domain.http.server.ResourceHandler.getClassLoader(ResourceHandler.java:324)
  at org.jboss.as.domain.http.server.ErrorHandler.<init>(ErrorHandler.java:53)
  at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:195)
  ... 6 more

16:25:29,962 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.io.IOException: Unable to load resource handler

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content