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

System#setProperty fails for swarm.http.port

    Details

      Description

      using "swarm.http.port" as a property in the config-section for the maven plugin (org.wildfly.swarm:wildfly-swarm-plugin) or via -Dswarm.http.port works, but setting it via System#setProperty fails in combination with the java-api for starting the container manually.

      the first (visible) exception is a bit strange:

      java.lang.RuntimeException: WFLYCTL0079: Failed initializing module org.jboss.as.logging
      at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:115)
      at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
      at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
      at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
      at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344)
      at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:459)
      at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:387)
      at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:349)
      at org.jboss.as.server.ServerService.boot(ServerService.java:392)
      at org.jboss.as.server.ServerService.boot(ServerService.java:365)
      at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
      at java.lang.Thread.run(Thread.java:745)
      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"
      at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      at java.util.concurrent.FutureTask.get(FutureTask.java:192)
      at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:107)
      ... 11 more
      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"
      at org.jboss.as.logging.LoggingExtension.initialize(LoggingExtension.java:147)
      at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131)
      at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:104)
      at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:144)
      at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      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)
      at org.jboss.threads.JBossThread.run(JBossThread.java:320)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kenfinni Ken Finnigan
                Reporter:
                gpetracek Gerhard Petracek
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: