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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
wood burning stoves
 
subject: needed solution for log4j errors
 
Similar Threads
hibernate error
why is log4j not working in executable jar?
"tomcat" and "log4" with JSPWiki
Tomcat 5.5 SEVERE: Error listenerStart
Problem in LOG