• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

"tomcat" and "log4" with JSPWiki

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It doesn't sound like a Tomcat issue as much as it does a JSPWiki issue.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic