Java Mission Control's JMX agent instrumentation causes EAP 7 to fail

Solution Verified - Updated -

Issue

JMC JMX instrumentation causes EAP 7 to fail:

WARNING: Failed to load the specified log manager class org.jboss.logmanager.LogManager
Oct 14, 2014 5:04:56 PM org.jboss.msc.service.ServiceContainerImpl <clinit>
INFO: JBoss MSC version 1.1.5.Final-redhat-1
Oct 14, 2014 5:04:56 PM org.jboss.as.server.ApplicationServerService start
INFO: JBAS015899: JBoss EAP 6.3.1.GA (AS 7.4.1.Final-redhat-3) starting
Oct 14, 2014 5:04:58 PM org.jboss.as.controller.AbstractOperationContext executeStep
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:111)
    at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:611)
    at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:489)
    at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:290)
    at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:285)
    at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1132)
    at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:299)
    at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:292)
    at org.jboss.as.server.ServerService.boot(ServerService.java:346)
    at org.jboss.as.server.ServerService.boot(ServerService.java:321)
    at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:254)
    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:188)
    at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:103)
    ... 11 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:106)
    at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:97)
    at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:139)
    at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:125)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
    at org.jboss.threads.JBossThread.run(JBossThread.java:122)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x
  • Java Mission Control (JMC)
    • 8.x
    • 7.x (in fact any JMC could have this conflict).

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