I ran into this problem when I updated to struts 1.1b1 since it already
includes log4j implementations and my project had separately included
the log4j.jar in my app's lib directory, it was causing problems.  As
soon as I removed the extra log4j.jar, then things ran fine without
errors.

I don't know if it is the same issue, but I was getting the exact same
errors as you.

-Jake

-----Original Message-----
From: Lenny Sorey [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 09, 2002 2:55 PM
To: Tomcat Users Group
Subject: log4j:ERROR No appenders could be found for category
(org.apache.commons.digester.Digester).


The following error is shown in Tomcat 4.1.3 Stderr.log 

log4j:ERROR No appenders could be found for category
(org.apache.commons.digester.Digester).
log4j:ERROR Please initialize the log4j system properly.


************************************************************************
*****************************************************
log4j.properties under the WEB-INF Subdirectory is as follows:

# Set root category priority to DEBUG and its only appender to A1.
log4j.rootCategory=DEBUG, A1
  
# A1 is set to be a ConsoleAppender. 
log4j.appender.A1=org.apache.log4j.ConsoleAppender
  
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

************************************************************************
*****************************************************
   

Anyone got any suggestions as why log4j is not initializing properly?

Platform is as follows:

Windows 2000 Professional
J2SDK 1.4.0
Tomcat 4.1.3
Log4j Version 1.1.3
Turbine 2.1b4
Velocity -1-2 dev jar

Thanks In Advance

Lenny Sorey



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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002
 


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

Reply via email to