File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes Log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j" Watch "Log4j" New topic
Author

Log4j

Mohit Agarwal
Ranch Hand

Joined: Mar 30, 2004
Posts: 88
Hi,

I am trying to use log4j (version log4j-1.2.8.jar ).The server is Tmcat 5.5.9
I made a Initializelog4j Servlet so as to initialize it on server start up.
The code for which is :


And the web.xml is (Snippet from it):



Now when i start Tomcat , i get the
ERROR:Cannot read the configuration file. Please check the path of the config init param in web.xml .


I don't know where i am wrong .

Please provide help regarding this ,

Thanks,
Mohit.
 
Don't get me started about those stupid light bulbs.
 
subject: Log4j
 
Similar Threads
Problem Migrating a Project from Weblogic 9.2 to Tomcat 6.0.29
Tomcat Startup and Shutdown
log4j...
using log4j in servlets
Log redirection