wsdl2java displays a number of WARNING and ERROR messages
---------------------------------------------------------
Key: APOLLO-28
URL: http://issues.apache.org/jira/browse/APOLLO-28
Project: Apollo
Type: Bug
Components: Wsdl2Java
Environment: Apollo top of the trunk (Apr. 12, 2005), Windows XP, JDK1.5
Reporter: Pankaj Kumar
Priority: Minor
Running the command "ant generate" in docs/tutorial directory displays a lot of
DEBUG, WARN and ERROR messages, though the generated files compile and run
without any problem.
Encountered the same messages when running Wsdl2Java on my own example WSRF
WSDL.
This is a usability issue as most people will give up on seeing the ERROR
messages or will attribute _any_ problem encountered later to these ERRORs.
Output dump:
---------------------------------------------------------------------------------
C:\review\apollo-1.0-a3-SNAPSHOT\docs\tutorial>ant generate
Buildfile: build.xml
init:
[echo] Using webapp dir: C:/apache/jakarta-tomcat-5.5.3/webapps/wsrf
[mkdir] Created dir: C:\review\apollo-1.0-a3-SNAPSHOT\docs\tutorial\generate
d\.xmlbeans\lib
generate:
[mkdir] Created dir: C:\apache\jakarta-tomcat-5.5.3\webapps\wsrf\_tmp_
[copy] Copying 1 file to C:\apache\jakarta-tomcat-5.5.3\webapps\wsrf\_tmp_
[copy] Copying 1 file to C:\apache\jakarta-tomcat-5.5.3\webapps\wsrf\_tmp_
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: getBundle(
org.apache.ws,org.apache.ws.util.i18n,resource,null,...)
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: loadBundle
: Ignoring MissingResourceException: Can't find bundle for base name org.apache.
ws.util.resource, locale en_US
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: loadBundle
: Ignoring MissingResourceException: Can't find bundle for base name org.apache.
ws.resource, locale en_US
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: Created or
g.apache.ws.util.i18n.resource, linked to parent null
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: getBundle(
org.apache.ws.resource,org.apache.ws.resource.i18n,resource,null,...)
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: loadBundle
: Ignoring MissingResourceException: Can't find bundle for base name org.apache.
ws.resource.resource, locale en_US
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: Root packa
ge not found, cross link to org.apache.ws.util.i18n.resource
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: Created or
g.apache.ws.resource.i18n.resource, linked to parent org.apache.ws.util.i18n.res
ource
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: org.apache
.ws.resource.i18n.resource::handleGetObject(OPT_OUTPUT_DIR_FOR_GEN_SRC)
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: org.apache
.ws.resource.i18n.resource::handleGetObject(OPT_CLASSPATH_SENT_TO_XMLBEANS)
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: org.apache
.ws.resource.i18n.resource::handleGetObject(OPT_ENABLE_VERBOSE)
[wsdl2Java] --> 04-13-05 09:05:55 DEBUG [main] ProjectResourceBundle: org.apache
.ws.resource.i18n.resource::handleGetObject(OPT_ENABLE_DEBUG)
[wsdl2Java] --> 04-13-05 09:05:58 ERROR [main] velocity: ResourceManager : unabl
e to find resource 'VM_global_library.vm' in any resource loader.
[wsdl2Java] Processing WSDL file "C:\apache\jakarta-tomcat-5.5.3\webapps\wsrf\_t
mp_\FileSystem.wsdl"...
[wsdl2Java] Retrieving document at 'C:\apache\jakarta-tomcat-5.5.3\webapps\wsrf\
_tmp_\FileSystem.wsdl'.
[wsdl2Java] Retrieving document at '../spec/wsrf/WS-ResourceProperties-1_2-Draft
_01.wsdl', relative to 'file:/C:/apache/jakarta-tomcat-5.5.3/webapps/wsrf/_tmp_/
FileSystem.wsdl'.
[wsdl2Java] Retrieving document at '../spec/wsrf/WS-ResourceLifetime-1_2-Draft_0
1.wsdl', relative to 'file:/C:/apache/jakarta-tomcat-5.5.3/webapps/wsrf/_tmp_/Fi
leSystem.wsdl'.
[wsdl2Java] Processing WSRF WSDL port "filesystem"...
[wsdl2Java] --> 04-13-05 09:05:59 ERROR [main] velocity: RHS of #set statement i
s null. Context will not be modified. templates/AbstractResource.vm [line 4, col
umn 1]
[wsdl2Java] --> 04-13-05 09:05:59 ERROR [main] velocity: RHS of #set statement i
s null. Context will not be modified. templates/AbstractResource.vm [line 5, col
umn 1]
[wsdl2Java] --> 04-13-05 09:05:59 ERROR [main] velocity: RHS of #set statement i
s null. Context will not be modified. templates/AbstractResource.vm [line 6, col
umn 1]
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 28,column 30] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 30,column 31] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 31,column 22] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 32,column 22] : ${jar.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 33,column 31] : ${activation.jar} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 34,column 31] : ${mail.jar} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 43,column 19] : ${classes.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 44,column 22] : ${src.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 45,column 23] : ${classes.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 49,column 20] : ${classes.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 50,column 24] : ${src.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 58,column 20] : ${wsdl.file} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 58,column 41] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 59,column 58] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 60,column 21] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 61,column 24] : ${classes.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 64,column 20] : ${jar.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 64,column 50] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 67,column 47] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 68,column 33] : ${config.wsdd} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 69,column 27] : ${src.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 74,column 47] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 75,column 33] : ${jndi.config} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 76,column 34] : ${src.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 85,column 36] : ${endpoint.url} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 91,column 21] : ${classes.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 97,column 22] : ${ant.file} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:05:59 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.proper
ties.vm [line 7,column 25] : ${env.CATALINA_HOME} is not a valid reference.
[wsdl2Java] Generating XMLBeans for WSDL file "C:\apache\jakarta-tomcat-5.5.3\we
bapps\wsrf\_tmp_\FileSystem.wsdl"...
[wsdl2Java] Loading wsdl file C:\apache\jakarta-tomcat-5.5.3\webapps\wsrf\_tmp_\
FileSystem.wsdl
[wsdl2Java] Processing 1 schema(s) in C:\apache\jakarta-tomcat-5.5.3\webapps\wsr
f\_tmp_\FileSystem.wsdl
[wsdl2Java] Time to build schema type system: 1.382 seconds
[wsdl2Java] Time to generate code: 0.581 seconds
[wsdl2Java] Time to compile code: 3.114 seconds
[wsdl2Java] Compiled types to: C:\review\apollo-1.0-a3-SNAPSHOT\docs\tutorial\ge
nerated\.xmlbeans\lib\FileSystem-xbeans.jar
[wsdl2Java] Processing WSDL file "C:\apache\jakarta-tomcat-5.5.3\webapps\wsrf\_t
mp_\SysProps.wsdl"...
[wsdl2Java] Retrieving document at 'C:\apache\jakarta-tomcat-5.5.3\webapps\wsrf\
_tmp_\SysProps.wsdl'.
[wsdl2Java] Retrieving document at '../spec/wsrf/WS-ResourceProperties-1_2-Draft
_01.wsdl', relative to 'file:/C:/apache/jakarta-tomcat-5.5.3/webapps/wsrf/_tmp_/
SysProps.wsdl'.
[wsdl2Java] Processing WSRF WSDL port "sysprops"...
[wsdl2Java] --> 04-13-05 09:06:05 ERROR [main] velocity: RHS of #set statement i
s null. Context will not be modified. templates/AbstractResource.vm [line 4, col
umn 1]
[wsdl2Java] --> 04-13-05 09:06:05 ERROR [main] velocity: RHS of #set statement i
s null. Context will not be modified. templates/AbstractResource.vm [line 5, col
umn 1]
[wsdl2Java] --> 04-13-05 09:06:05 ERROR [main] velocity: RHS of #set statement i
s null. Context will not be modified. templates/AbstractResource.vm [line 6, col
umn 1]
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 28,column 30] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 30,column 31] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 31,column 22] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 32,column 22] : ${jar.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 33,column 31] : ${activation.jar} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 34,column 31] : ${mail.jar} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 43,column 19] : ${classes.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 44,column 22] : ${src.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 45,column 23] : ${classes.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 49,column 20] : ${classes.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 50,column 24] : ${src.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 58,column 20] : ${wsdl.file} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 58,column 41] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 59,column 58] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 60,column 21] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 61,column 24] : ${classes.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 64,column 20] : ${jar.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 64,column 50] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 67,column 47] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 68,column 33] : ${config.wsdd} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 69,column 27] : ${src.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 74,column 47] : ${wsrf.webapp.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 75,column 33] : ${jndi.config} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 76,column 34] : ${src.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 85,column 36] : ${endpoint.url} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 91,column 21] : ${classes.dir} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.xml.vm
[line 97,column 22] : ${ant.file} is not a valid reference.
[wsdl2Java] --> 04-13-05 09:06:05 WARN [main] velocity: org.apache.velocity.run
time.exception.ReferenceException: reference : template = templates/build.proper
ties.vm [line 7,column 25] : ${env.CATALINA_HOME} is not a valid reference.
[wsdl2Java] Generating XMLBeans for WSDL file "C:\apache\jakarta-tomcat-5.5.3\we
bapps\wsrf\_tmp_\SysProps.wsdl"...
[wsdl2Java] Loading wsdl file C:\apache\jakarta-tomcat-5.5.3\webapps\wsrf\_tmp_\
SysProps.wsdl
[wsdl2Java] Processing 1 schema(s) in C:\apache\jakarta-tomcat-5.5.3\webapps\wsr
f\_tmp_\SysProps.wsdl
[wsdl2Java] Time to build schema type system: 0.091 seconds
[wsdl2Java] Time to generate code: 0.05 seconds
[wsdl2Java] Time to compile code: 2.023 seconds
[wsdl2Java] Compiled types to: C:\review\apollo-1.0-a3-SNAPSHOT\docs\tutorial\ge
nerated\.xmlbeans\lib\SysProps-xbeans.jar
[delete] Deleting directory C:\apache\jakarta-tomcat-5.5.3\webapps\wsrf\_tmp_
BUILD SUCCESSFUL
Total time: 14 seconds
---------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]