Hi, Hmm, it's possible that now that we've moved Tomcat's bootstrapping code to also use commons-logging, the impl lib is needed on the bootstrap classpath. I'll amend the FAQ entry to also link to this thread and give some though to updating the documentation-proper (as opposed to the FAQ) on this issue.
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Sunday, September 05, 2004 2:13 PM >To: [EMAIL PROTECTED] >Subject: Log4J in Tomcat 5.0...I don't believe the FAQ > >Patrick Burleson wrote about problems in getting Tomcat to use log4j by >following the FAQ. I have been struggling the same fight for some time, but >a hint in one of the recipes finally lead me to the solution. > >It is --not-- enough to place log4j-x-x-x.jar in $CATALINA_HOME/common/lib >and the properties file in .../common/classes. > >You --also-- have to place log4j-x-x-x.jar in classpath when starting >tomcat. > >I did not find a "nice" way of doing this, but appending the path to log4j- >x-x-x.jar to the line > > >CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar:"$CATALINA_HO ME"/ >bin/c >ommons-logging-api.jar > >in .../bin/catalina.sh did the trick, i.e. with this change, commons- >logging will discover logj4.jar and use it. > >It would be nice to be able to supply this extra classpath entry when >invoking catalina.sh instead of having to modify the script each time >tomcat is updated. > >regards >Erik Bertelsen > >------------------------------------------------- >WebMail fra Tele2 http://www.tele2.dk >------------------------------------------------- > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
