wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes needed solution for log4j errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "needed solution for log4j errors" Watch "needed solution for log4j errors" New topic
Author

needed solution for log4j errors

rajareddy annavaarm
Ranch Hand

Joined: Mar 15, 2007
Posts: 96
a)log4j:WARN No appenders could be found for logger (com.sns.al.AppLauncher).
log4j:WARN Please initialize the log4j system properly.

b)log4j:ERROR Attempted to append to closed appender named
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Do you have a log4j configuration file in your classpath ? Like log4j.properties or log4j.xml ? If you have, you should add an appender associated to the "com.sns.al.AppLauncher" class (or one of its subpackages)

(Note that this is an EJB forum. There's a forum dedicated to log4j)
[ March 15, 2007: Message edited by: Satou kurinosuke ]

[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: needed solution for log4j errors