]
jaikiran pai edited comment on WFLY-4885 at 7/8/15 1:21 AM:
------------------------------------------------------------
Never mind, turns out this can be reproduced on any other platform and not just Mac OS. So
I could reproduce this locally and could patch the classes to show the real error which is
this:
{quote}
10:47:45,117 ERROR [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-8)
WFLYDMHTTP0003: Unable to load console module for slot main, disabling console:
org.jboss.modules.ModuleNotFoundException: WFLYDMHTTP0007: No console module available
with module name org.jboss.as.console.main
at
org.jboss.as.domain.http.server.ConsoleMode$ConsoleHandler.findConsoleClassLoader(ConsoleMode.java:177)
at
org.jboss.as.domain.http.server.ConsoleMode$ConsoleHandler.createConsoleHandler(ConsoleMode.java:143)
at
org.jboss.as.domain.http.server.ConsoleMode$1.createConsoleHandler(ConsoleMode.java:59)
at
org.jboss.as.domain.http.server.ManagementHttpServer.setupOpenListener(ManagementHttpServer.java:240)
at
org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:204)
at
org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:231)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{quote}
The {code}org.jboss.as.console{code} module in fact _isn't_ shipped in this
distribution. I don't know if this is intentional (for servlet only distribution) or
whether this is an oversight.
was (Author: jaikiran):
Never mind, turns out this can be reproduced on any other platform and not just Mac OS. So
I could reproduce this locally and could patch the classes to show the real error which is
this:
{quote}
10:47:45,117 ERROR [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-8)
WFLYDMHTTP0003: Unable to load console module for slot main, disabling console:
org.jboss.modules.ModuleNotFoundException: WFLYDMHTTP0007: No console module available
with module name org.jboss.as.console.main
at
org.jboss.as.domain.http.server.ConsoleMode$ConsoleHandler.findConsoleClassLoader(ConsoleMode.java:177)
at
org.jboss.as.domain.http.server.ConsoleMode$ConsoleHandler.createConsoleHandler(ConsoleMode.java:143)
at
org.jboss.as.domain.http.server.ConsoleMode$1.createConsoleHandler(ConsoleMode.java:59)
at
org.jboss.as.domain.http.server.ManagementHttpServer.setupOpenListener(ManagementHttpServer.java:240)
at
org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:204)
at
org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:231)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{quote}
The `org.jboss.as.console` module in fact isn't shipped in this distribution. I
don't know if this is intentional (for servlet only distribution) or whether this is
an oversight.
Vanila servlet container does not start on MacOS
------------------------------------------------
Key: WFLY-4885
URL:
https://issues.jboss.org/browse/WFLY-4885
Project: WildFly
Issue Type: Bug
Components: Web Console
Affects Versions: 9.0.0.Final
Environment: 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015;
root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
wildfly-servlet-9.0.0.Final
Reporter: Pranas Baliuka
Assignee: Heiko Braun
Priority: Critical
{code}
./standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Users/pranas/Apps/wildfly-servlet-9.0.0.Final
JAVA: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/java
JAVA_OPTS: -server -XX:+UseCompressedOops -server -XX:+UseCompressedOops -Xms64m
-Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true
-Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was
removed in 8.0
09:45:26,744 INFO [org.jboss.modules] (main) JBoss Modules version 1.4.3.Final
09:45:27,175 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
09:45:27,217 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Servlet
9.0.0.Final (WildFly Core 1.0.0.Final) starting
09:45:27,636 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating
http management service using socket-binding (management-http)
09:45:27,657 INFO [org.xnio] (MSC service thread 1-2) XNIO version 3.3.1.Final
09:45:27,662 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation
Version 3.3.1.Final
09:45:27,677 INFO [org.jboss.as.security] (ServerService Thread Pool -- 19) WFLYSEC0002:
Activating Security Subsystem
09:45:27,680 INFO [org.jboss.as.security] (MSC service thread 1-5) WFLYSEC0001: Current
PicketBox version=4.9.2.Final
09:45:27,681 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 15)
WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task
threads based on your 8 available processors
09:45:27,696 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 17) WFLYNAM0001:
Activating Naming Subsystem
09:45:27,708 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0003:
Undertow 1.2.8.Final starting
09:45:27,708 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 21)
WFLYUT0003: Undertow 1.2.8.Final starting
09:45:27,713 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version
4.0.9.Final
09:45:27,727 INFO [org.jboss.as.naming] (MSC service thread 1-7) WFLYNAM0003: Starting
Naming Service
09:45:27,751 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 21)
WFLYUT0014: Creating file handler for path
/Users/pranas/Apps/wildfly-servlet-9.0.0.Final/welcome-content
09:45:27,755 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0012:
Started server default-server.
09:45:27,765 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018:
Host default-host starting
09:45:27,799 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006:
Undertow HTTP listener default listening on /127.0.0.1:8080
09:45:27,860 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8)
WFLYDS0013: Started FileSystemDeploymentService for directory
/Users/pranas/Apps/wildfly-servlet-9.0.0.Final/standalone/deployments
09:45:27,864 ERROR [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-1)
WFLYDMHTTP0003: Unable to load console module for slot main, disabling console
09:45:27,949 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management
interface listening on
http://127.0.0.1:9990/management
09:45:27,950 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console
listening on
http://127.0.0.1:9990
09:45:27,950 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Servlet
9.0.0.Final (WildFly Core 1.0.0.Final) started in 1401ms - Started 101 of 105 services (29
services are lazy, passive or on-demand)
{code}