• 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

using log4j and WSAD 5

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I got following error while configuring log4j in WSAD 5.
log4j:WARN No appenders could be found for logger (testpack.HelloBean).
log4j:WARN Please initialize the log4j system properly.
I have wsad 5 enterprise application proj
under this project under java jar dependencies i specified log4j jar file
I have strucuture like(MyPoj\config\lib\log4j.jar and i have log4j.properites MyPoj\config\lib\log4j.properties)
and I added my MYproj folder to server classpath
still i am getting the above error
What could be the problem?
I saw abache website they gave solution like
---
Log4j does not have a default logging target. It is the user's responsibility to ensure that all categories can inherit an appender. This can be easily achieved by attaching an appender to the root category
--
what is this mean?how to configure log4j inside WSAD5
I am using Test Environment Server 5.0 inside WSAD5.0
thanks
vishnu
 
vibeeshan kambli
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found this articile very usefull
and it solved my problem
http://www.webagesolutions.com/knowledgebase/waskb/waskb004/index.html
 
reply
    Bookmark Topic Watch Topic
  • New Topic