>> 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.

Thanks,

Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to