Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 96999 invoked from network); 5 Aug 2008 17:54:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Aug 2008 17:54:41 -0000 Received: (qmail 35014 invoked by uid 500); 5 Aug 2008 17:54:37 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 34952 invoked by uid 500); 5 Aug 2008 17:54:37 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 34939 invoked by uid 99); 5 Aug 2008 17:54:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 10:54:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.48] (HELO n76.bullet.mail.sp1.yahoo.com) (98.136.44.48) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 05 Aug 2008 17:53:39 +0000 Received: from [216.252.122.218] by n76.bullet.mail.sp1.yahoo.com with NNFMP; 05 Aug 2008 17:49:54 -0000 Received: from [69.147.65.157] by t3.bullet.sp1.yahoo.com with NNFMP; 05 Aug 2008 17:49:54 -0000 Received: from [127.0.0.1] by omp405.mail.sp1.yahoo.com with NNFMP; 05 Aug 2008 17:49:54 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 425746.77158.bm@omp405.mail.sp1.yahoo.com Received: (qmail 16972 invoked by uid 60001); 5 Aug 2008 17:49:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=bOlvkRu8/TZX/8L5YTNHT9Mk+cEJLfiiKYKoiH9Gms42s0BsKyVGxrH4PqpM8tFYVUChjKIBEnRSPDA/ZbLaGMTgt/q2H23bqS7JVp2ToKhRvBbg1gxmFVP/WHVnwpBvF42ajTn0D+xm0QEUbQtvT7odeAxhstCyXjYaqmUkj6k=; Received: from [154.20.98.145] by web45907.mail.sp1.yahoo.com via HTTP; Tue, 05 Aug 2008 10:49:54 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Tue, 5 Aug 2008 10:49:54 -0700 (PDT) From: Fu-Tung Cheng Reply-To: futung.cheng@yahoo.com Subject: Re: overwrite bin/tomcat-juli.jar with extras/tomcat-juli.jar results in ClassNotFound To: Tomcat Developers List In-Reply-To: <108753.79417.qm@web45906.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <281333.16021.qm@web45907.mail.sp1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org I figured out the issue. I needed to run the normal ant before ant -f extras.xml. Thanks, Fu-Tung --- On Tue, 8/5/08, Fu-Tung Cheng wrote: > From: Fu-Tung Cheng > Subject: overwrite bin/tomcat-juli.jar with extras/tomcat-juli.jar results in ClassNotFound > To: dev@tomcat.apache.org > Date: Tuesday, August 5, 2008, 4:48 PM > I am trying to follow the log4j setup for tomcat found here: > > http://tomcat.apache.org/tomcat-6.0-doc/logging.html > > I built the extras and replaced the jar files as directed > but now I get an exception at startup: > > The stack trace follows. In general though the problem > appears to be that the extras/tomcat-juli.jar does not > contain ClassLoaderLogManager but the original > bin/tomcat-juli.jar that I overwrote following the > instructions did contain it. > > Thank you, > > Fu-Tung > > > Could not load Logmanager > "org.apache.juli.ClassLoaderLogManager" > java.lang.ClassNotFoundException: > org.apache.juli.ClassLoaderLogManager > at > java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at > java.security.AccessController.doPrivileged(Native Method) > at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at > java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) > at > java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at > java.util.logging.LogManager$1.run(LogManager.java:166) > at > java.security.AccessController.doPrivileged(Native Method) > at > java.util.logging.LogManager.(LogManager.java:156) > at > java.util.logging.Logger.getLogger(Logger.java:274) > at > org.apache.juli.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:1 > 81) > at > org.apache.juli.logging.impl.Jdk14Logger.(Jdk14Logger.java:61) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct > orAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC > onstructorAccessorImpl.java:27) > at > java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at > org.apache.juli.logging.impl.LogFactoryImpl.createLogFromClass(LogFac > toryImpl.java:1116) > at > org.apache.juli.logging.impl.LogFactoryImpl.discoverLogImplementation > (LogFactoryImpl.java:914) > at > org.apache.juli.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp > l.java:604) > at > org.apache.juli.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp > l.java:336) > at > org.apache.juli.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp > l.java:310) > at > org.apache.juli.logging.LogFactory.getLog(LogFactory.java:685) > at > org.apache.catalina.startup.Bootstrap.(Bootstrap.java:54) > Can't load log handler > "1catalina.org.apache.juli.FileHandler" > java.lang.ClassNotFoundException: > 1catalina.org.apache.juli.FileHandler > java.lang.ClassNotFoundException: > 1catalina.org.apache.juli.FileHandler > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org