2012/10/17 Christopher Schultz <ch...@christopherschultz.net>:
>
> I'm trying to get a webapp that has been running under TC 5.5 for
> quite a while running under Tomcat 7.0. Everything is the same except
> for my new server.xml:
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.logging.Log

See:
http://tomcat.apache.org/migration-6.html#commons-logging.jar

I do not think that Log4j uses Apache Commons Logging, but some other
libraries that your app uses may use it.

> 1. Add commons-logging to my webapp's WEB-INF/lib directory

+1

> 2. Configure Tomcat not to scan log4j.jar

It should already be excluded (as "log4j*.jar" mask is mentioned in
tomcat.util.scan.DefaultJarScanner.jarsToSkip property in
catalina.properties).


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to