axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Janke (JIRA)" <>
Subject [jira] [Created] (AXIS2-5639) wsdl2java issues log4j warnings every run
Date Sun, 16 Mar 2014 04:32:42 GMT
Andrew Janke created AXIS2-5639:

             Summary: wsdl2java issues log4j warnings every run
                 Key: AXIS2-5639
             Project: Axis2
          Issue Type: New Feature
          Components: wsdl
    Affects Versions: 1.6.2
         Environment: Windows 7 Pro x64 SP1, Java 1.7.0_51
            Reporter: Andrew Janke
            Priority: Minor

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 (
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?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message