-------- Original-Nachricht -------- Datum: Tue, 22 Aug 2006 07:09:58 -0700 (PDT) Von: pompiuses <[EMAIL PROTECTED]> An: users@tomcat.apache.org Betreff: Log4j and Tomcat problem
> > I'm using Tomcat 5.0.30 running on Ubuntu Linux (6.06). > > I've made a small webapp which runs fine under Tomcat on Windows, but on > Linux I've got a problem with log4j. > > I've put "commons-logging-1.1.jar" and "log4j-1.2.13.jar" in the webapp > libs > directory ($CATALINA_HOME/webapps/ROOT/WEB-INF/lib). In the webapp classes > directory I've put log4j.properties. That is the best way to avoid problems, so further tries should rely on that. Maybe Tomcat 5.0.30 delivers an old commons-logging-api.jar. Have a look at http://jakarta.apache.org/commons/logging/commons-logging-1.1/guide.html#Jars_Included_in_the_Standard_Distribution and try to find the correct combination of a) replacing the old version with the current commons-logging inside tomcat b) replace WEB-INF/lib/commons-logging-1.1.jar with commons-logging-adapters.jar Force commons-logging 1.1 with JVM parameter -Dorg.apache.commons.logging.diagnostics.dest=STDOUT to give you a trace of what it does. If you still have errors - please post this trace. Please send back your solution to the list... Regards Boris --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]