tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fu-Tung Cheng <futung.ch...@yahoo.com>
Subject overwrite bin/tomcat-juli.jar with extras/tomcat-juli.jar results in ClassNotFound
Date Tue, 05 Aug 2008 16:48:04 GMT
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.<clinit>(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.<init>(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.<clinit>(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


Mime
View raw message