tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Armbrust <>
Subject Re: How to debug Error: listenerStart?
Date Thu, 02 Apr 2009 14:42:03 GMT
>> log4j:WARN No appenders could be found for logger
>> (org.apache.catalina.startup.TldConfig).
>> log4j:WARN Please initialize the log4j system properly.
> This indicates that you /have/ made changes to Tomcat's default logging
> configuration. Tomcat doesn't use log4j by default. Do you have
> log4j*.jar in server/lib or common/lib? If so, try moving it out of the
> way and bouncing Tomcat. Tomcat should use its standard logging
> configuration if log4j is not present.

Hmm.  I don't know how.  I have a documented, rigid set of steps that
I go through after downloading a new version of Tomcat.  The only
changes that I make to tomcat are:

Add sample modjk2 scripts.
Remove example apps.
Remove Host manager.
Replace Root application.

comment out the AprLifecycleListener from server.xml

Add activation.jar and mail.jar to the common/lib folder.  (This is
due to a packaging issue in one of our webapps that I haven't had a
chance to fix yet)

And thats it.  There is no log4j present in tomcat's library folders.

Log4j _is_ present in the war files that I deploy, however.

I guess maybe I should walk through this step by step, and see _when_
tomcat gets confused about which logging system to use.  Though I have
a hunch that it has something to do with activation.jar or mail.jar.
I've never liked the fact that I've been putting those in Tomcat's
library folder.  I'll start there, I guess.



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

View raw message