*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4J + Tomcat" Watch "Log4J + Tomcat" New topic
Author

Log4J + Tomcat

Michael P Fischer
Greenhorn

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
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Log4J + Tomcat