Predeployment of PersistenceUnit that using Log4j as session logger failed#198
Predeployment of PersistenceUnit that using Log4j as session logger failed#198EckelDong wants to merge 1 commit intoapache:masterfrom
Conversation
|
I applied your patch to git master and release-2.x. Please verify and close. The JIRA ticket is https://issues.apache.org/jira/browse/LOG4J2-2397 |
session logger failed (Closes #198).
session logger failed (Closes #198).
|
@garydgregory Having the same "Provider org.apache.logging.log4j.util.EnvironmentPropertySource not a subtype" problem when loading the log4j libraries on two different class loaders, from what I tested this fix seems to also fix my problem. |
|
@raducoravu, |
Environment Details
Problem Description
I hava A and B machines. DAS is running on machine A, and the standalone instance managed by DAS is running on machine B. When I deploy a EAR package, I got error from DAS(not standalone):
Steps to reproduce
EAR package:
--lib
----entity.jar
--------META-INF/persistence.xml
--ejb.jar
----log4j2.xml
--web.war
----WEB-INF/web.xml
persistence.xml
by the way, prior to 2.9.0, it's work fine