JBoss EAP 7.4 log4j 2 API
Issue
- When log4j 2 api was added in EAP 7?
- When log4jv2 api was added in EAP 7?
- How to use it?
- How to not use it? (exclude it)
- Migrating to EAP 7.4 , our application which packages Apache Log4j2 is having classloading errors such as:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.LoggerContext
at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.createContext(ClassLoaderContextSelector.java:254)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.