This is likely a known problem with the Tomcat class loader that was resolved in Tomcat 5.5.29. Update to Tomcat 5.5.29 or later or set ENABLE_CLEAR_REFERENCES=false in your Tomcat configuration, see
http://logging.apache.org/log4j/1.2/faq.html#unload https://issues.apache.org/bugzilla/show_bug.cgi?id=41059 https://issues.apache.org/bugzilla/show_bug.cgi?id=43867 https://issues.apache.org/bugzilla/show_bug.cgi?id=41939 On Jun 20, 2011, at 10:54 AM, WEIQUAN YUAN wrote: > 20-Jun-2011 9:19:24 AM org.apache.catalina.core. StandardContext start > SEVERE: Error listenerStart > 20-Jun-2011 9:19:24 AM org.apache.catalina.core. StandardContext start > SEVERE: Context [/testPhoenix] startup failed due to previous errors > log4j:ERROR LogMananger.repositorySelector was null likely due to > error in class reloading, using NOPLoggerRepository. > > Here is my environment > >> 1. What exact version of Tomcat 5.5.x you are using? > 5.5.17.0 > >> 2. It says that it is class loading issue. What jars to you have on >> the server ind in your webapp? > there are a lot of jars i used for this webapp, including spring, dwr, > log4j, mail, esapi, jstl, json, common, activation, ..... > >> And what version of log4j you are using? > log4j-1.2.15.jar, > >> 3. How logging is configured in your webapp and in Tomcat? > using -Dlog4j.configuration=log4j. xml in tomcat startup script and put > log4j.xml in WEB-INF/classes > > > -- > Weiquan Yuan > Located in Ottawa - Capital Region of Canada > Email: [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
