Dear all
I am running JBoss Application Server 4.3.0 and Log4j-1.2.15 for my application.
every times I reload my application by modifying the web.xml My application is down.
looking for in the server.log file i get the error message:
"log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository"
although the application reloads well but every times I access my web pages that use a Log4j object I get the an error message and the Log4j object always return null object!
I also study this problem on some links such as
https://issues.apache.org/bugzilla/show_bug.cgi?id=40212
http://www.nabble.com/Stop-tomcat-app:-grails-jars-still-locked,-cannot-redeploy-td15724822.html
but I could not solve the problem.
if you have experience with this problem, please help me to solve it.
Thanks in advance!
Dear all,
This is a Tomcat issue for Log4J case.
I solved by setting org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
Thanks anyway.