Type: New Feature
Affects Version/s: 1.6.2
Fix Version/s: None
Environment:Windows 7 Pro x64 SP1, Java 1.7.0_51
Annoyance: The wsdl2java is emitting log4j config warnings on every invocation on Windows. (Doesn't do this on Mac OS X 10.9 for me.)
Using AXIS2_HOME: C:\local\java\axis2-1.6.2
Using JAVA_HOME: C:\Program Files\Java\jdk1.7.0_51
log4j:WARN No appenders could be found for logger (org.apache.axis2.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
Usage: WSDL2Java [options] -uri <url or path> : A url or path to a WSDL
Looks like the same issue as in
AXIS2-734 (https://issues.apache.org/jira/browse/AXIS2-734) item 1. But the workaround it mentions doesn't work, probably because paths have changed since whatever release it was using.
In 1.6.2, I can get rid of the warnings with a similar workaround: add this to wsdl2java.bat at line 69, after "set AXIS2_CLASS_PATH=%AXIS2_HOME%":
Can wsdl2java be fixed to not emit the log4j warnings by default?