tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Tomcat 5.5 classloader log4j vs JCL issue
Date Fri, 02 Sep 2005 13:07:51 GMT
I'm having the same issue and after trying to follow the instructions given by Paul Austin,
I've got stuck on the part that says to add a listener. 

There's no place for a listener in web.xml according to the dtd validation file. Am I wrong
? (I'm using Tomcat 5.5.9 with the struts framework)

Everything else went fine. I've created a jar file with your source code. BTW, where am I
supposed to put this jar anyways ? in common/lib/ ??

And just to double check, is this log4j.xml file valid ? :


<?xml version="1.0" encoding="UTF-8" ?>
<!-- <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> -->
<log4j:configuration xmlns:log4j="">
  <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
    <layout class="org.apache.log4j.SimpleLayout"/>
    <priority value ="debug" />
    <appender-ref ref="ConsoleAppender"/>


Thanks a lot 

Luc Boudreau
SID - Université du Québec

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message