logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David KOCH <dk...@ezakus.com>
Subject Issue with log4j and Glassfish
Date Tue, 15 Apr 2014 13:10:16 GMT

Glassfish 3.1.2 does not seem to find (some) log4j2 classes when the log4j2
dependencies are not directly included in the wep application's pom.xml. In
my case, I have a separate artifact which contains a custom log appender
and all of the log4j2 stuff.

I already followed the advice in
LPS-21525<https://issues.liferay.com/browse/LPS-21525> to
help avoid some errors but I still get the following messages when trying
to deploy my application,

while trying to load Bean Class
org.apache.logging.log4j.core.async.RingBufferLogEvent$Factory :
java.lang.NoClassDefFoundError: com/lmax/disruptor/EventFactory|#]

See here <http://pastebin.com/RWRH2uxm> for a verbose list.

The classes are present in the web application's jar, albeit in:

How can I fix this? Any help is appreciated,



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message