Log4j-1.2.8 introduced a better entity resolving mechanism and should clear up the problem. There were bugs in previous versions. The change shouldn't do much other than fix your issue. Test first, of course.


Jake

At 04:07 PM 5/28/2003 +0200, you wrote:
we use log4j in a production environment and it's not easy to change my
version of log4j.
Is there a bug with the 1.2.4 version that can explain my problem ?

In the line
 <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

what the word SYSTEM means ?
Can I specify where is my log4j.dtd file ?


Thanks for your help


Xavier



[EMAIL PROTECTED] wrote:
>
> Have you tried using 1.2.8?
>
> At 07:54 PM 5/27/2003 +0200, you wrote:
>
> >my version of log4j is 1.2.4
> >
> >Xavier
>
> --
> Ceki  For log4j documentation consider "The complete log4j manual"
>        ISBN: 2970036908  http://www.qos.ch/shop/products/clm_t.jsp
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


[EMAIL PROTECTED] wrote:
>
> Xavier,
>
> Which version of log4j are you using?
>
> At 06:37 PM 5/27/2003 +0200, you wrote:
> >Hi,
> >
> >I use apache 2 and tomcat 4.1 and I want to start a web app that use
> >log4j to log.
> >My log4j.xml file is in my $CATALINA_BASE/conf directory and this
> >directory is in my CLASSPATH.
> >My log4j.dtd is also in $CATALINA_BASE/conf.
> >
> >In the log4j.xml file, I specify:
> > <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
> > <log4j:configuration
> >xmlns:log4j="http://jakarta.apache.org/log4j/";>
> >
> >At the startup, tomcat find my log4j.xml file (as I can see in the
> >catalina.out log), but the URL it uses for the log4j.dtd file is:
> >
> >jar:file:/opt/hpws/tomcat/common/lib/log4j-1.2.4.jar!/org/apache/log4j/ xml/log4j.dtd
> >
> >Why does-it use this URL ?
> >How can I indicate where is my log4j.dtd file ?
> >
> >
> >Thank you for your help
> >
> >Xavier
>
> --
> Ceki For log4j documentation consider "The complete log4j manual"
> ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to