axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Reynolds <>
Subject Re: error message cause log4j...
Date Sat, 22 Oct 2005 15:20:41 GMT
whenever you see that message, "Please initialize the log4j system 
properly." it's because the PropertyConfigurator didn't find a file in the classpath of the ClassLoader (either thread 
context loader or the loader that loaded the log4j jar - it probably 
checks both) or you didn't call the BasicConfigurator before using the 
log4j system.  you'll need this file on both client and server side, but 
once it's loaded (as long as you don't switch to another branch of the 
ClassLoader tree - i.e., another webapp of the same server) you 
shouldn't have a problem.  is this client or server side?  do you have 
the basic components of a file?  this is the bare-bones file - it dumps everything to console:

log4j.rootLogger=DEBUG, CONSOLE
log4j.appender.CONSOLE                                          = 
log4j.appender.CONSOLE.layout                                = 
log4j.appender.CONSOLE.layout.ConversionPattern   = %-5p %c %x:%m%n

hope this helps. 
Alberto Filho wrote:

>Ok, but now, the error message is another...
>java org.apache.axis.wsdl.WSDL2Java http://localhost:8080/axis/Hello.jws?wsdl
>log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectR
>log4j:WARN Please initialize the log4j system properly.

View raw message