This content has been marked as final.
Show 2 replies
-
1. Re: log4j.properies file from war is not loading
mchoma Mar 11, 2016 1:21 AM (in response to kuru1234)Can you try to put log4j jar into /WEB-INF/lib ? It seems module classloader can't see resource in war module.
-
2. Re: log4j.properies file from war is not loading
kuru1234 Mar 11, 2016 10:49 AM (in response to mchoma)I have tried that, in that case I need to exclude 'org.apache.log4j' and 'org.apache.commons.logging' in jboss-deployment-structure.xml , no luck , is the same error in the server logs.
2016-03-08 12:23:18,623 ERROR [stderr] (ServerService Thread Pool -- 73) log4j:WARN No appenders could be found for logger (com.econs.beam.listener.Log4jConfigListener).
2016-03-08 12:23:18,625 ERROR [stderr] (ServerService Thread Pool -- 73) log4j:WARN Please initialize the log4j system properly.
2016-03-08 12:23:18,626 ERROR [stderr] (ServerService Thread Pool -- 73) log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.