[
https://issues.jboss.org/browse/WFLY-3152?page=com.atlassian.jira.plugin....
]
J R commented on WFLY-3152:
---------------------------
Quoting: 'This is not a bug. The error message explains the exact problem. If you need
help, please use the user forums.'
The quote above led me down the wrong path.
In my case, the message did not explain the problem at all and had nothing to do with
whether or not the system property "java.util.logging.manager" was set
"org.jboss.logmanager.LogManager".
The issue was that you cannot instantiate a logger until AFTER Swarm is running. So if you
are using a main() class and a static logger, wait until after Swarm is started to
instantiate it. In the meantime you could use System.out if you really needed to log
something.
See:
https://groups.google.com/forum/#!topic/wildfly-swarm/btSdaeR4f3w
Failed initializing module org.jboss.as.logging
------------------------------------------------
Key: WFLY-3152
URL:
https://issues.jboss.org/browse/WFLY-3152
Project: WildFly
Issue Type: Bug
Reporter: Huu Loi Lai
Priority: Blocker
I try to run integration test with arquillian and wildfly and I get following erros:
ERROR: JBAS014612: Operation ("parallel-extension-add") failed - address: ([])
java.lang.RuntimeException: JBAS014670: Failed initializing module org.jboss.as.logging
at
org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:99)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:591)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:469)
at
org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:273)
at
org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:268)
at
org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:314)
at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:294)
at org.jboss.as.server.ServerService.boot(ServerService.java:356)
at org.jboss.as.server.ServerService.boot(ServerService.java:331)
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:256)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException:
JBAS011592: 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:91)
... 10 more
Caused by: java.lang.IllegalStateException: JBAS011592: 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:103)
at
org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:98)
at
org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)
at
org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:113)
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:744)
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)