[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    RE: Axis Log4j initialization failure...
From:       Grimm_Clifford () emc ! com
Date:       2005-04-29 10:26:57
Message-ID: 18C6A5982F816D47BFEF7DF47F7B032303AD6985 () corpmx2 ! corp ! emc ! com
[Download RAW message or body]

Thanks. This was the problem. 

> -----Original Message-----
> From: Cameron Bromley [mailto:cameron_bromley@versata.com] 
> Sent: Thursday, April 28, 2005 7:22 PM
> To: axis-user@ws.apache.org
> Subject: RE: Axis Log4j initialization failure...
> 
> You need to make sure the log4j.properties file is in the classpath of
> the client. There is one that ships with 1.2rc3 in the lib directory.
> Contents as follows:
> 
> # Set root category priority to INFO and its only appender to CONSOLE.
> log4j.rootCategory=INFO, CONSOLE
> #log4j.rootCategory=INFO, CONSOLE, LOGFILE
> 
> # Set the enterprise logger category to FATAL and its only appender to
> CONSOLE.
> log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE
> 
> # CONSOLE is set to be a ConsoleAppender using a PatternLayout.
> log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
> log4j.appender.CONSOLE.Threshold=INFO
> log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
> log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n
> 
> # LOGFILE is set to be a File appender using a PatternLayout.
> log4j.appender.LOGFILE=org.apache.log4j.FileAppender
> log4j.appender.LOGFILE.File=axis.log
> log4j.appender.LOGFILE.Append=true
> log4j.appender.LOGFILE.Threshold=INFO
> log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
> log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x -
> %m%n
> 
> 
> You will probably run into other output complaining about missing
> classes which can be solved by getting the java activation 
> framework and
> javamail from the Sun site and making sure those too are in 
> your client
> classpath
> 
> http://java.sun.com/products/javabeans/glasgow/jaf.html 
> 
> http://java.sun.com/products/javamail/downloads/index.
> 
> Cam.
> 
> 
> -----Original Message-----
> From: Grimm_Clifford@emc.com [mailto:Grimm_Clifford@emc.com] 
> Sent: Friday, 29 April 2005 3:52 AM
> To: axis-user@ws.apache.org
> Subject: Axis Log4j initialization failure...
> 
> Back in February someone reported a problem with the Axis 1.2 always
> reporting the following. 
> 
> log4j:WARN No appenders could be found for logger
> (org.apache.axis.i18n.ProjectResourceBundle).
> log4j:WARN Please initialize the log4j system properly.
> 
> This occurs when trying to execute any client SOAP application.
> There is no follow on e-mail thread and I need to solve the same
> problem.
> 
> Does anyone have an idea what I need to do to get this to stop?
> 
> I am running Java 1.5 with Axis 1.2 RC3.  Not that the server side
> should
> matter, but I'm running Tomcat 5.5.
> 
>   Cliff
> 
> 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic