aspose file tools*
The moose likes Websphere and the fly likes using log4j and WSAD 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "using log4j and WSAD 5" Watch "using log4j and WSAD 5" New topic
Author

using log4j and WSAD 5

vibeeshan kambli
Ranch Hand

Joined: Jan 22, 2003
Posts: 41
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

Joined: Jan 22, 2003
Posts: 41
I found this articile very usefull
and it solved my problem
http://www.webagesolutions.com/knowledgebase/waskb/waskb004/index.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using log4j and WSAD 5
 
Similar Threads
struts & Log4J
using Log4j WSAD
Not able to Use log4j with Richfaces
Unable to set classpath for log4j
How to call login.jsp in eclipse