File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Log4J + Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4J + Tomcat" Watch "Log4J + Tomcat" New topic

Log4J + Tomcat

Michael P Fischer

Joined: Sep 15, 2004
Posts: 1
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
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

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.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Log4J + Tomcat
jQuery in Action, 3rd edition