File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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: 14672
    
  11

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
 
Similar Threads
"tomcat" and "log4" with JSPWiki
why is log4j not working in executable jar?
hibernate error
Problem in LOG
Tomcat 5.5 SEVERE: Error listenerStart