The properties file would need to be in $CATALINA_HOME/common/classes
(which you will have to create) instead of $CATALINA_HOME/common/lib.
Only JAR files are loaded from "lib" directories.

Craig

On Mon, 17 Sep 2001, Jiger Java wrote:

> Date: Mon, 17 Sep 2001 15:40:26 +0530
> From: Jiger Java <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Tomcat 4 and Log4J
>
> Hi Friends,
>             I testing Log4j with Tomcat4 RC2. I copied log4j.properties &
> log4j.jar to common/lib. But still I get the following error of Log4j.
>
> log4j:ERROR No appenders could be found for category
> (com.comp.anacreon.utils.MySoapCallerBean).
> log4j:ERROR Please initialize the log4j system properly.
>
> I tried various combinations with regards the placing of log4j.properties
> file & log4j.jar file in other words I tried putting them in common/lib,
> mywebapp/lib, set it in the Catalina.bat's classpath, jdk/jre/lib/ext &
> where not. But still no luck. Can anyone explain where do I now put it to
> make the things work.
>   I have the old Tomcat 3.2.3 working with log4j perfectly but this problem
> came when I ported my webapp to Tomcat 4.
>
> Awaiting your reply,
> Thanking you,
> Jiger
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>

Reply via email to