File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"tomcat" and "log4" with JSPWiki

 
jite eghagha
Ranch Hand
Posts: 128
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesn't sound like a Tomcat issue as much as it does a JSPWiki issue.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic