aspose file tools*
The moose likes Tomcat and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark ""tomcat"  and "log4" with  JSPWiki" Watch ""tomcat"  and "log4" with  JSPWiki" New topic
Author

"tomcat" and "log4" with JSPWiki

jite eghagha
Ranch Hand

Joined: Oct 06, 2006
Posts: 127
When I start up tomcat i get this error message:

log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Bootstrap).
log4j:WARN Please initialize the log4j system properly.

when i try to deploy JSPWiki.war i get this error message:

log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \tmp\jspwiki.log (The system cannot find the path specified)


Altough there are errors can still deploy and view other web projects.(but not the JSPWiki.war)

I downloaded logging-log4j-1.2.14.jar, but have no idea where it goes?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

It doesn't sound like a Tomcat issue as much as it does a JSPWiki issue.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10200
    
166

log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Bootstrap).
log4j:WARN Please initialize the log4j system properly.


This indicates that log4j is not able to find log4j.properties or log4j.xml in the classpath.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "tomcat" and "log4" with JSPWiki