> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Seeking authoritative answer re using Log4J with v6 > > It looks very much like your build environment is broken.
I just duplicated Jonathan's findings on my Vista box. There are several things broken, but the build environment doesn't appear to be one of them. 1) The extras.xml script places Log4JLogger.class in tomcat-juli-adapters.jar, but not tomcat-juli.jar, thus preventing Tomcat from using log4j internally. 2) Several classes are duplicated in the extras versions of tomcat-juli.jar and tomcat-juli-adapters.jar: org/apache/juli/logging/impl/Jdk14Logger.class org/apache/juli/logging/impl/LogFactoryImpl$1.class org/apache/juli/logging/impl/LogFactoryImpl$2.class org/apache/juli/logging/impl/LogFactoryImpl$3.class org/apache/juli/logging/impl/NoOpLog.class org/apache/juli/logging/impl/SimpleLog.class org/apache/juli/logging/impl/SimpleLog$1.class Most of this is likely intentional, but each jar contains different additional classes in the org.apache.juli.logging.impl package, which strikes me as odd. 3) org/apache/juli/logging/impl/LogFactoryImpl.class is missing from tomcat-juli-adapters.jar, despite its internal classes being there. The above is true both for jars downloaded from bin/extras and for ones built via extras.xml. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org