Forums Register Login

Log4J + Tomcat

+Pie Number of slices to send: Send
Hi all, I am having problems deploying my app with log4j. I am not calling log4j yet; i only have the .jar file in my WEB-INF/lib directory.

When I deploy this I get the following error:
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor

If I include the file "log4j.xml" off of WEB-INF/classes/ directory, I am still receiving the same error.

Anyone here have any ideas why this is happening?

I'm running Tomcat 5.0.25 + J2SE 1.4.2_05
+Pie Number of slices to send: Send
Sorry I can't help much, but you might get better response in a forum that covers Log4J. This forum is for Servlets questions.

I am going to move this thread to a more appropriate forum.

Mark
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 726 times.
Similar Threads
Deployment error NoClassDefFoundError: org.hibernate.cfg.Configuration on Oracle 11g App Server
maven log4j problem
Log4j only reads log4j.properties in $CATALINA_HOME/lib
tomcat and struts
Axis installation error
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 03:18:04.