Kodichath, Suresh wrote:
> Hi all:
> I hit this issue while trying to move my application from Tomcat 5.5.9 to 
> Tomcat 6.0.18. The application runs fine in Tomcat 5.5.9 but is getting the 
> following exception with Tomcat 6.0.18. Any help with this is much 
> appreciated!.

Your handler needs to be visible when Tomcat starts. It isn't often I
say this but try putting your jar in the bin dir and editing
setclasspath to include your jar.

Mark

> 
> My <CATALINA_HOME>/conf/logging.properties is as follows:
> 
> handlers = 1catalina.com.mycompany.logger.JavaLoggingHandler
> .handlers = 1catalina.com.mycompany.logger.JavaLoggingHandler
> <other properties here>
> 
> The error I am getting is a ClassNotFoundException for 
> com.mycompany.logger.JavaLoggingHandler. The Jar that contains this class is  
> <CATALINA_HOME>/lib/MyAppFramework.jar.
> 
> java.lang.ClassNotFoundException: com.mycompany.logger.JavaLoggingHandler
>         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:268)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at 
> org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:404)
>         at 
> org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:348)
>         at 
> org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:239)
>         at java.util.logging.LogManager$2.run(LogManager.java:254)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:252)
>         at java.util.logging.LogManager.getLogManager(LogManager.java:235)
>         at java.util.logging.Logger.<init>(Logger.java:201)
>         at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:969)
>         at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:966)
>         at java.util.logging.LogManager$1.run(LogManager.java:179)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.util.logging.LogManager.<clinit>(LogManager.java:156)
>         at java.util.logging.Logger.getLogger(Logger.java:254)
>         at org.apache.juli.logging.DirectJDKLog.<init>(DirectJDKLog.java:71)
>         at 
> org.apache.juli.logging.DirectJDKLog.getInstance(DirectJDKLog.java:178)
>         at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:170)
>         at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:241)
>         at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:296)
>         at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
> 
> Thanks,
> Suresh
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to