Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-536

docker container - WFLYCTL0079: Failed initializing module org.jboss.as.logging

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 1.0.0.Final
    • Fix Version/s: 2016.8
    • Component/s: None
    • Labels:
      None

      Description

      This error is raised when a Swarm project is launched as docker container

      Demo project is available here : https://github.com/cmoulliard/swarm-camel-demo/tree/master

      mvn docker:build docker:run -Pdocker
      mvn docker:logs -Pdocker
      
      [INFO] --- docker-maven-plugin:0.15.7:logs (default-cli) @ demo ---
      71cb33> I> No access restrictor found at classpath:/jolokia-access.xml, access to all MBeans is allowed
      71cb33> Jolokia: Agent started with URL http://172.17.0.2:8778/jolokia/
      71cb33> 2016-06-30 14:29:24.494:INFO:ifasjipjsoejs.Server:jetty-8.y.z-SNAPSHOT
      71cb33> 2016-06-30 14:29:24.522:INFO:ifasjipjsoejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:9779
      71cb33> Jun 30, 2016 2:29:26 PM org.jboss.msc.service.ServiceContainerImpl <clinit>
      71cb33> INFO: JBoss MSC version 1.2.6.Final
      71cb33> Jun 30, 2016 2:29:27 PM org.jboss.as.server.ApplicationServerService start
      71cb33> INFO: WFLYSRV0049: WildFly Core 2.0.10.Final "Kenny" starting
      71cb33> Jun 30, 2016 2:29:28 PM org.jboss.as.controller.AbstractOperationContext executeStep
      71cb33> ERROR: WFLYCTL0013: Operation ("parallel-extension-add") failed - address: ([])
      71cb33> java.lang.RuntimeException: WFLYCTL0079: Failed initializing module org.jboss.as.logging
      71cb33> at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:115)
      71cb33> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
      71cb33> at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
      71cb33> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
      71cb33> at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344)
      71cb33> at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:459)
      71cb33> at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:387)
      71cb33> at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:349)
      71cb33> at org.jboss.as.server.ServerService.boot(ServerService.java:392)
      71cb33> at org.jboss.as.server.ServerService.boot(ServerService.java:365)
      71cb33> at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
      71cb33> at java.lang.Thread.run(Thread.java:745)
      71cb33> Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: WFLYLOG0078: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager"
      71cb33> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      71cb33> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
      71cb33> at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:107)
      71cb33> ... 11 more
      71cb33> Caused by: java.lang.IllegalStateException: WFLYLOG0078: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager"
      71cb33> at org.jboss.as.logging.LoggingExtension.initialize(LoggingExtension.java:147)
      71cb33> at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131)
      71cb33> at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:104)
      71cb33> at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:144)
      71cb33> at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)
      71cb33> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      71cb33> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      71cb33> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      71cb33> at java.lang.Thread.run(Thread.java:745)
      71cb33> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      71cb33> 
      71cb33> Jun 30, 2016 2:29:28 PM org.jboss.as.server.ServerService boot
      71cb33> FATAL: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      71cb33> Exception in thread "main" java.lang.reflect.InvocationTargetException
      71cb33> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      71cb33> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      71cb33> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      71cb33> at java.lang.reflect.Method.invoke(Method.java:498)
      71cb33> at org.wildfly.swarm.bootstrap.Main.invoke(Main.java:84)
      71cb33> at org.wildfly.swarm.bootstrap.Main.run(Main.java:48)
      71cb33> at org.wildfly.swarm.bootstrap.Main.main(Main.java:43)
      71cb33> Caused by: java.util.concurrent.ExecutionException: Operation failed
      71cb33> at org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74)
      71cb33> at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268)
      71cb33> at org.jboss.as.server.SelfContainedContainer.start(SelfContainedContainer.java:113)
      71cb33> at org.wildfly.swarm.container.runtime.RuntimeServer.start(RuntimeServer.java:252)
      71cb33> at org.wildfly.swarm.container.Container.start(Container.java:333)
      71cb33> at org.wildfly.swarm.Swarm.start(Swarm.java:97)
      71cb33> at org.wildfly.swarm.Swarm.start(Swarm.java:45)
      71cb33> at org.wildfly.swarm.container.Container.start(Container.java:324)
      71cb33> at org.wildfly.swarm.Swarm.start(Swarm.java:107)
      71cb33> at org.demo.MainApp.main(MainApp.java:50)
      71cb33> ... 7 more
      71cb33> Caused by: java.lang.Exception: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      71cb33> at org.jboss.as.server.BootstrapListener.bootFailure(BootstrapListener.java:87)
      71cb33> at org.jboss.as.server.ServerService.boot(ServerService.java:384)
      71cb33> at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
      71cb33> at java.lang.Thread.run(Thread.java:745)
      [INFO] ------------------------------------------------------------------------
      
      

      The project works perfectly when started locally

      mvn wildfly-swarm:run
      [INFO] Starting -swarm.jar
      16:32:18,244 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
      16:32:18,342 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Core 2.0.10.Final "Kenny" starting
      2016-06-30 16:32:18,966 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
      2016-06-30 16:32:18,966 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 17) WFLYNAM0001: Activating Naming Subsystem
      2016-06-30 16:32:18,967 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 19) WFLYSEC0002: Activating Security Subsystem
      2016-06-30 16:32:18,971 INFO  [org.jboss.as.security] (MSC service thread 1-3) WFLYSEC0001: Current PicketBox version=4.9.4.Final
      2016-06-30 16:32:19,006 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
      2016-06-30 16:32:19,032 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 1.3.15.Final starting
      2016-06-30 16:32:19,032 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 20) WFLYUT0003: Undertow 1.3.15.Final starting
      2016-06-30 16:32:19,040 INFO  [org.jboss.gravia.runtime] (MSC service thread 1-6) Installed: Module[gravia-system:0.0.0]
      2016-06-30 16:32:19,040 INFO  [org.jboss.gravia.runtime] (MSC service thread 1-6) Runtime created: org.wildfly.extension.gravia.service.WildFlyRuntime@43350c6c
      2016-06-30 16:32:19,051 INFO  [org.wildfly.extension.gravia] (MSC service thread 1-5) Activating Gravia Subsystem
      2016-06-30 16:32:19,051 INFO  [org.wildfly.extension.camel] (MSC service thread 1-7) Activating Camel Subsystem
      2016-06-30 16:32:19,053 INFO  [org.jboss.gravia.runtime] (MSC service thread 1-5) Installed: Module[gravia-container-wildfly-extension:1.3.1]
      2016-06-30 16:32:19,054 INFO  [org.jboss.gravia.runtime] (MSC service thread 1-5) Started: Module[gravia-container-wildfly-extension:1.3.1]
      2016-06-30 16:32:19,066 INFO  [org.xnio] (MSC service thread 1-4) XNIO version 3.3.4.Final
      2016-06-30 16:32:19,074 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.3.4.Final
      2016-06-30 16:32:19,105 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.
      2016-06-30 16:32:19,106 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0018: Host default-host starting
      2016-06-30 16:32:19,316 INFO  [org.apache.camel.impl.DefaultCamelContext] (MSC service thread 1-6) Apache Camel 2.17.1 (CamelContext: camel-1) is starting
      2016-06-30 16:32:19,318 INFO  [org.apache.camel.management.ManagedManagementStrategy] (MSC service thread 1-6) JMX is enabled
      2016-06-30 16:32:19,442 INFO  [org.wildfly.extension.camel] (MSC service thread 1-6) Camel context starting: camel-1
      2016-06-30 16:32:19,497 INFO  [org.apache.camel.impl.converter.DefaultTypeConverter] (MSC service thread 1-6) Loaded 198 type converters
      2016-06-30 16:32:19,514 INFO  [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] (MSC service thread 1-6) Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
      2016-06-30 16:32:19,577 INFO  [org.apache.camel.impl.DefaultCamelContext] (MSC service thread 1-6) AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
      2016-06-30 16:32:19,577 INFO  [org.apache.camel.impl.DefaultCamelContext] (MSC service thread 1-6) StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
      2016-06-30 16:32:19,629 INFO  [org.apache.camel.impl.DefaultCamelContext] (MSC service thread 1-6) Route: route2 started and consuming from: Endpoint[direct://say]
      2016-06-30 16:32:19,631 INFO  [org.apache.camel.component.undertow.UndertowRegistry] (MSC service thread 1-6) Adding consumer to consumerRegistry: http://localhost:0/api/say/%7Bname%7D
      2016-06-30 16:32:19,634 INFO  [org.wildfly.extension.camel] (MSC service thread 1-6) Add Camel endpoint: http://127.0.0.1:8080/api/say/{name}
      2016-06-30 16:32:19,634 INFO  [org.apache.camel.impl.DefaultCamelContext] (MSC service thread 1-6) Route: route1 started and consuming from: Endpoint[http://localhost:0/api/say/%7Bname%7D?httpMethodRestrict=GET]
      2016-06-30 16:32:19,635 INFO  [org.apache.camel.impl.DefaultCamelContext] (MSC service thread 1-6) Total 2 routes, of which 2 are started.
      2016-06-30 16:32:19,636 INFO  [org.apache.camel.impl.DefaultCamelContext] (MSC service thread 1-6) Apache Camel 2.17.1 (CamelContext: camel-1) started in 0.319 seconds
      2016-06-30 16:32:19,637 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 2.0.10.Final "Kenny" started in 1425ms - Started 78 of 85 services (14 services are lazy, passive or on-demand)
      2016-06-30 16:32:19,676 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
      2016-06-30 16:32:19,760 INFO  [org.wildfly.swarm.runtime.deployer] (main) deploying jolokia.war
      2016-06-30 16:32:19,780 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "jolokia.war" (runtime-name: "jolokia.war")
      2016-06-30 16:32:20,056 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 8) jolokia-agent: No access restrictor found at classpath:/jolokia-access.xml, access to all MBeans is allowed
      2016-06-30 16:32:20,096 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 8) WFLYUT0021: Registered web context: /jolokia
      2016-06-30 16:32:20,096 INFO  [org.wildfly.extension.camel] (ServerService Thread Pool -- 8) Add Camel endpoint: http://127.0.0.1:8080/jolokia
      2016-06-30 16:32:20,121 INFO  [org.jboss.as.server] (main) WFLYSRV0010: Deployed "jolokia.war" (runtime-name : "jolokia.war")
      2016-06-30 16:32:20,131 INFO  [org.wildfly.swarm.runtime.deployer] (main) deploying demo.jar
      2016-06-30 16:32:20,134 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "demo.jar" (runtime-name: "demo.jar")
      2016-06-30 16:32:20,161 INFO  [org.jboss.as.server] (main) WFLYSRV0010: Deployed "demo.jar" (runtime-name : "demo.jar")
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  heiko.braun Heiko Braun
                  Reporter:
                  cmoulliard Charles Moulliard
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: