EAP log has "Could not register mbeans javax.management.InstanceAlreadyExistsException: org.apache.logging.log4j2" during deployment

Solution Unverified - Updated -

Issue

  • EAP log has "Could not register mbeans javax.management.InstanceAlreadyExistsException: org.apache.logging.log4j2" during deployment, multiple war/ear are using log4j2 custom module.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6
  • log4j2 (added to EAP as a module)
    • 2.8.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.