Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 93724 invoked from network); 25 Jun 2009 08:40:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 08:40:09 -0000 Received: (qmail 38520 invoked by uid 500); 25 Jun 2009 08:40:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 38478 invoked by uid 500); 25 Jun 2009 08:40:16 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 38467 invoked by uid 99); 25 Jun 2009 08:40:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 08:40:16 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [193.252.22.159] (HELO smtp5.freeserve.com) (193.252.22.159) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 08:40:06 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3413.me.freeserve.com (SMTP Server) with ESMTP id 89AAC1C00083 for ; Thu, 25 Jun 2009 10:39:44 +0200 (CEST) Received: from smtp.homeinbox.net (unknown [91.109.141.126]) by mwinf3413.me.freeserve.com (SMTP Server) with ESMTP id 4C35F1C00081 for ; Thu, 25 Jun 2009 10:39:44 +0200 (CEST) X-ME-UUID: 20090625083944312.4C35F1C00081@mwinf3413.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id AD5241A4E03 for ; Thu, 25 Jun 2009 09:39:33 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id blb64V5P6fZa for ; Thu, 25 Jun 2009 09:39:30 +0100 (BST) Received: from [192.168.0.9] (study03.dev.local [192.168.0.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id 95A671A4DE8 for ; Thu, 25 Jun 2009 09:39:30 +0100 (BST) Message-ID: <4A4337BE.4080403@apache.org> Date: Thu, 25 Jun 2009 09:39:26 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat 6.0 and JULI issue. References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 /conf/logging.properties is as follows: > > handlers = 1catalina.com.mycompany.logger.JavaLoggingHandler > .handlers = 1catalina.com.mycompany.logger.JavaLoggingHandler > > > The error I am getting is a ClassNotFoundException for com.mycompany.logger.JavaLoggingHandler. The Jar that contains this class is /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.(Logger.java:201) > at java.util.logging.LogManager$RootLogger.(LogManager.java:969) > at java.util.logging.LogManager$RootLogger.(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.(LogManager.java:156) > at java.util.logging.Logger.getLogger(Logger.java:254) > at org.apache.juli.logging.DirectJDKLog.(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.(Bootstrap.java:54) > > Thanks, > Suresh > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org