tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From totalrecall <weze...@yahoo.com.hk>
Subject [tomcat5.5] ClassCastException at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:396)
Date Thu, 03 Jan 2008 06:50:36 GMT

This problem occurs on tomcat 5.5 but not tomcat 5.
I'm trying to figure out why there's a class casting on ConsoleHandler. 
Unfortunately I could not find the source code on ClassLoaderLogManager, so
I don't exactly know what's wrong!

Is there a major update of org.apache.juli in tomcat 5.5?


Handler error
java.lang.ClassCastException: com.gotrade.util.logging.ConsoleHandler
        at
org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:396)
        at
org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
        at
org.apache.juli.ClassLoaderLogManager$2.run(ClassLoaderLogManager.java:273)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.juli.ClassLoaderLogManager.getClassLoaderInfo(ClassLoaderLogManager.java:270)
        at
org.apache.juli.ClassLoaderLogManager.getLogger(ClassLoaderLogManager.java:175)
        at java.util.logging.Logger.getLogger(Logger.java:255)
        at
org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:152)
        at
org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:53)
        at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown
Source)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.
java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
        at
org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:381)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4119)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
        at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

-- 
View this message in context: http://www.nabble.com/-tomcat5.5--ClassCastException-at-org.apache.juli.ClassLoaderLogManager.readConfiguration%28ClassLoaderLogManager.java%3A396%29-tp14592653p14592653.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message