You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Shapira, Yoav" <Yo...@mpi.com> on 2002/07/16 19:45:08 UTC

Moving from 4.0.1 to 4.0.4 breaks log4j?

Hi everyone,
I have an application using log4j that works fine in 4.0.1.  It
generates a log file in the /MyApp/WEB-INF/logs directory.  I have
log4j-1.2.5.jar in /MyApp/WEB-INF/lib.

I downloaded tomcat 4.0.4 LE, running it with JDK 1.4.0 on Solaris.
Same log4j jar in /MyApp/WEB-INF/lib, same log4j configuration file.
MyApp runs fine, and I see no errors in any of the tomcat logs.
However, the log4j log file is not created at all.  

I have hunch this may have to do with commons-logging that's present in
4.0.4 but not in 4.0.1.  Am I on the right track?  Does anyone have an
idea what's causing the behavior above?  All help / ideas are
appreciated,

Yoav Shapira
Millennium ChemInformatics



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Moving from 4.0.1 to 4.0.4 breaks log4j?

Posted by Eddie Bush <ed...@vestus.adabbs.com>.
I think log4j really dislikes having multiples of it's jars available. 
 You might run it past the guys on log4j-user, but I seem to recall 
something along those lines going through the list 3-7 days or so ago. 
 In other words, you're probably right on the money. ;-)

Regards,

Eddie

Shapira, Yoav wrote:

>Hi everyone,
>I have an application using log4j that works fine in 4.0.1.  It
>generates a log file in the /MyApp/WEB-INF/logs directory.  I have
>log4j-1.2.5.jar in /MyApp/WEB-INF/lib.
>
>I downloaded tomcat 4.0.4 LE, running it with JDK 1.4.0 on Solaris.
>Same log4j jar in /MyApp/WEB-INF/lib, same log4j configuration file.
>MyApp runs fine, and I see no errors in any of the tomcat logs.
>However, the log4j log file is not created at all.  
>
>I have hunch this may have to do with commons-logging that's present in
>4.0.4 but not in 4.0.1.  Am I on the right track?  Does anyone have an
>idea what's causing the behavior above?  All help / ideas are
>appreciated,
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>