aspose 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 Spring in Action this week in the Spring 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Log4j