JDG 7.1 application throw an exception if deployed at EAP 7.1

Solution Verified - Updated -

Issue

  • A deployment of an application with embedded JDG fail if EAP 7.1 is used as server
Caused by: java.lang.Exception: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"test.war\".WeldStartService" => "Failed to start service
    Caused by: org.jboss.weld.exceptions.DeploymentException: tried to access class org.jboss.logging.Log4j2Logger from class org.jboss.logging.Log4j2Logger$1
    Caused by: java.lang.IllegalAccessError: tried to access class org.jboss.logging.Log4j2Logger from class org.jboss.logging.Log4j2Logger$1"}}
  • We are not able to deploy a JDG 7.1 application in EAP 7.1 container

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.1
  • Red Hat JBoss Data Grid (JDG)
    • 7.1.0

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