You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Ceki Gülcü <ce...@qos.ch> on 2002/06/05 19:12:09 UTC

Re: log4j use in multiple tomcat web apps - properties file parsing errors

As far as I can tell, there is only one possible explanation. You have
a copy of log4j-XXX.jar in both WEB-INF/lib of your web application as
well as on the CLASSPATH or a copy of log4j-XXX.jar is in
$JAVA_HOME/jre/lib/ext/

Remove log4j.jar from the CLASSPATH and from $JAVA_HOME/jre/lib/ext/
if that is the case.

If log4j.jar is not on the CLASSPATH or $JAVA_HOME/jre/lib/ext/ check
also $CATALINA_HOME/common/lib and $CATALINA_HOME/lib.

I'd appreciate if you'd report back even if this solves the problem.

At 12:12 05.06.2002 -0400, PGuimaraes@genelogic.com wrote:
>Hi Ceki,
>
> > This is quite similar to the problem reported by Chris Goodall a few
> > hours ago.
>
>Since I just joined this mailing list, I didn't get a copy of Chris
>Goodall's
>message.  I searched the archives, but could not find any messages sent by
>him recently.  Could you forward his message and your reply to me?  Thanks.
>
> > First, here are the standard questions:
> >
> > 1) Which version of the JDK are you using?
> > 2) Which version of log4j?
>
>Sorry about that (newbie error :-).  I am using j2sdk1.4.0 and *was* using
>log4j-1.2.  I'm now using log4j-1.2.3, patched with your recommendation.
>
>Attached is a snippet of catalina.out with the relevant information.
>
>Let me know if there is anything I should try next.
>
>Thanks again,
>
>Pat
>
>Patricia T. Guimaraes
>Software Engineer
>Gene Logic, Inc.

--
Ceki

SUICIDE BOMBING - A CRIME AGAINST HUMANITY
Sign the petition: http://www.petitiononline.com/1234567b
I am signatory number 22106. What is your number?


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