axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Janke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5639) wsdl2java issues log4j warnings every run
Date Sun, 16 Mar 2014 04:37:43 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13936428#comment-13936428
] 

Andrew Janke commented on AXIS2-5639:
-------------------------------------

Also, "Prequisites" is spelled wrong in the comments at line 23 in wsdl2java.bat.

> wsdl2java issues log4j warnings every run
> -----------------------------------------
>
>                 Key: AXIS2-5639
>                 URL: https://issues.apache.org/jira/browse/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.)
> c:\>wsdl2java
> 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%":
> set AXIS2_CLASS_PATH=%AXIS2_CLASS_PATH%;%AXIS2_HOME%\conf
> Can wsdl2java be fixed to not emit the log4j warnings by default?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message