"Eric B." <ebe...@hotmail.com> wrote in message 
news:h5um4f$jh...@ger.gmane.org...
> "Mark Thomas" <ma...@apache.org> wrote in message 
> news:4a7c9110.50...@apache.org...
>> Eric B. wrote:
>>> Is there a workaround for this, or just one of those things that you 
>>> have to
>>> learn to live with?
>>
>> In catalina.properties, modify the following entry as shown:
>> common.loader=${catalina.base}/lib,${catalina.home}/lib,${catalina.home}/lib/*.jar
>>
>> then you can place log4j.properties in CATALINA_BASE/lib
>
> Another really strange result.  If I delete the logging.properties in 
> CATALINA_BASE/conf, I get the following error msg:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> Caused by: java.lang.ClassNotFoundException:
>        at java.net.URLClassLoader$1.run(Unknown Source)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> Could not find the main class: .  Program will exit.
>
> Not quite sure why - I looked at the startup script and it is supposed to 
> ignore it if missing, so not sure why I would be getting the 
> ClassNotFoundException.  So far, my workaround has been to use an empty 
> logging.properties, and tomcat launches.


After some more searching, I found this bug had already been raised and 
fixed in 6.0.19.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45585

Eric 




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

Reply via email to