Interesting. I don't get any log output either. This leads to two possibilities:
1) There is no logging code being performed in the classes used by wsconsume
2) One of the classes used by wsconsume is changing the logging settings, thus
overriding the log4j.configuration setting.
My bet would b
Peter:
(this is going to be a little long :-))
| C:\Other\eclipseall\ws\hsi\mm7-client2\work>myrun
|
| C:\Other\eclipseall\ws\hsi\mm7-client2\work>myconsume -k -s ../src -o tmp
mm7.wsdl
| "C:\Sun\AppServer\jdk\bin\java"
-Djava.endorsed.dirs="C:/jboss/jboss-4.2.2.GA\lib\endorsed" -Dlog
Oh, and post the mylog4j.xml file.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230122#4230122
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230122
___
jboss-user mailing l
This looks OK to me. So let's double-check a few things.
First, please verify that the log4j config file is located at:
C:\Other\eclipseall\ws\hsi\mm7-client2\work\mylog4j.xml
Second, replace the last line in mywsconsume.bat with:
set APP="%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORS
Peter,
Contents of myconsume.bat:
| @echo off
|
| @if not "%ECHO%" == "" echo %ECHO%
| @if "%OS%" == "Windows_NT" setlocal
|
| set DIRNAME=.\
| if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
| set PROGNAME=run.bat
| if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
|
| set JAV
Please state exactly what you did (post the change). I modified wsconsume.bat,
removing that clause from the java command line. Then it picks up the
log4j.properties (or.xml) in my classpath.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229545#4229545
Repl