commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Affan Qureshi" <>
Subject Re: [Logging] Where to put new jars in Tomcat?
Date Thu, 10 Apr 2003 14:05:42 GMT
Thanks but I think it does find the coz it is printing the
debug info right (according to the file in

Wouldn't placing jar files or properties file in App Server dirs tie up my
app to the server. I would love to have my app as a freely

Maybe I need to get rid of property files altogether and do configuration
programmatically. But the problem is the Log4J implementation is hiding
behind commons-logging API and common-logging does not have any
configuration mechanism. Anyone tried programmatic configuration of log4j
under commons-logging (via a web interface etc)?


----- Original Message -----
From: "Robert Priest" <>
To: "'Jakarta Commons Users List'" <>
Sent: Thursday, April 10, 2003 6:24 PM
Subject: RE: [Logging] Where to put new jars in Tomcat?

> It just sounds like it is not finding that file. If the
> commons-logging in your server\lib is using log4j, maybe you need a
> file in server\classes.
> -----Original Message-----
> From: Affan Qureshi []
> Sent: Thursday, April 10, 2003 4:08 AM
> To: Jakarta Commons Users List
> Subject: [Logging] Where to put new jars in Tomcat?
> Hi,
> I have downloaded commons-logging-1.0.3 and found two jar files in it:
> commons-logging.jar
> commons-logging-api.jar
> Now which one am i supposed to put in my webapp/WEB-INF/lib and what about
> tomcat's server/lib and common/lib? I found that tomcat's server/lib
> had commons-logging.jar and I replaced it with the new one having the same
> name. Also replaced the existing common/lib/commons-logging-api.jar with
> new commons-logging-api.jar. But when tomcat starts up i get:
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.digester.D
> igester).
> log4j:WARN Please initialize the log4j system properly.
> and
> Do I have to put log4j in tomcat too? I have log4j.jar in my WEB-INF/lib.
> also have and and
> WEB-INF/classes.
> Right now I am not getting any log messages anywhere.
> Any where i can find exact steps to make this work? i have searched the
> archive and tried some of the combinations nothing seems to fit in.
> I am using Tomcat 4.1.18 on Win2000 and JDK1.4.
> Affan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message