Here I have concerns with 
org.apache.catalina.core.­StandardContext start
the little "-"

where does it come from?

Can you remove your apps and just start tomcat configured to use log4j?
Swith on log4j debug true to see how your 

And if Tomcat Server starts properly without any errors in your log4j
Then aou can deploy your web apps and see what log4j loggs.

Also why the dash? ...configuration=log4j.-xml
"-" is just dangerous!

Josef


-----Ursprüngliche Nachricht-----
Von: WEIQUAN YUAN [mailto:weiquan.y...@gmail.com] 
Gesendet: Montag, 20. Juni 2011 17:54
An: log4j-user@logging.apache.org
Betreff: tomcat 5.5 -- log4j error

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: weiquan.y...@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to