I'm a newbie learning Axis1.x ( I know there is an Axis2, but our
developers at work are still using 1.x).
Things are going well. I have worked through most of the basic samples
OK. But I get a recurring log4j error, which is not fatal but I would
like to fix it .
bash-3.00$ java org.apache.axis.wsdl.WSDL2Java
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
................
How can I clear this up?
Thanks
Bruce
jagonzal@gmail.com - 08 Aug 2006 16:46 GMT
> I'm a newbie learning Axis1.x ( I know there is an Axis2, but our
> developers at work are still using 1.x).
[quoted text clipped - 10 lines]
>
> How can I clear this up?
You need to provide a log4j configuration file.
More info here: http://logging.apache.org/
Arne Vajhøj - 11 Aug 2006 02:02 GMT
> Things are going well. I have worked through most of the basic samples
> OK. But I get a recurring log4j error, which is not fatal but I would
[quoted text clipped - 7 lines]
>
> How can I clear this up?
bash-3.00$ java -Dlog4j.configuration=file:log4j.properties
org.apache.axis.wsdl.WSDL2Java
where log4j.properties contain:
log4j.rootLogger=INFO,Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.SimpleLayout
Arne
PS: Why not use the ant task for this ?