Failed to find wsa.jar.

Just realized as I am working on some sample code with JDeveloper 10.1.3 and the WSA ant targets that there is a warning that can be missleading to new users.

Here is what you see in the 'Apache Ant - Log' window:
Buildfile: C:\dev\howto\xml-client\build.xml

genproxy:
Failed to find wsa.jar.
BUILD SUCCESSFUL
Total time: 11 seconds

In my environment, with the build.properties file generated by JDeveloper, the issue was that the environment variable used a relative path.

#Wed May 31 23:39:13 PDT 2006
javac.debug=on
oracle.home=../../../opt/jdev/
...

WSA is looking for oracle.home or oc4j.home to locate oc4j.home/webservices/lib/wsa.jar

Using an absolute path is all it takes to get ride of the extra warning.
#Wed May 31 23:39:13 PDT 2006
javac.debug=on
oracle.home=/opt/jdev/
...

For more details, see 'Setting Up Ant for WebServicesAssembler'

No big deal, just noise.

Comments

ilango said…
Do you have a sample build.xml to help me get started?

Popular posts from this blog

Changing the version of JDK used by JDeveloper

Connection reset from a WCF Web Service

Test locally first, then deploy to the cloud.