You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mark Leone <mi...@cox.net> on 2005/04/29 23:39:48 UTC

Axis 1.2RC3 with JDK1.5-- Got the fix but...

I just tried to compile Axis 1.2RC3 with JDK 1.5, and got 16 compiler 
errors (discussed in a previous thread here) caused by axis failing to 
implement methods org.w3c.dom.Node.getUserData() and 
org.w3c.dom.Document.renameNode(). I don't want to compile with JDK1.4, 
so according to the thread I found in the archvies, I can just drop 
xercesImpl-2_6_2.jar and xmlParserAPIs-2_6_2.jar into the 
ws-axis/java/lib/endorsed directory, and copile with the 
-Djava.endorsed.dir switch.

However... he thread was written for RC2, but the same issue appears to 
exist with RC3, and I can't find anything even close to the directory 
mentioned above in the RC3 source distribution. Can someone please tell 
me where to place these jar files to get axis to compile in JDK 1.5? And 
where do I get teh jar files mentioned? I have those files in my axis 
1.1 server that I built frm source distribution, but they don't have the 
2_6_2 suffix in their file names. Their last modified date 3/19/2003.

Re: Axis 1.2RC3 with JDK1.5-- Got the fix but...

Posted by Mark Leone <mi...@cox.net>.
Okay, color me stupid. I realized that the reference was generic, to 
wherever I placed my endorsed lib in Tomcat. The mind is a terrible thing.

I put the relevant jar files from my axis 1.1 distribution in the 
endorsed directory of Tomcat, and pointed to it with <compilerarg> and 
<arg> elements in the <javac> and <java> elements, respectively, in the 
ant build.xml file. The build was successful, but I ran into something 
in the process that I don't know what to make of.

I used javac option "-endorseddirs <endorsed directory>" because that's 
how it was specified in the "usage" message from javac when the compile 
failed. This didn't work, but "-Djava.endorsed.dirs=<endorsed 
directory>" did. I'm just surprised that the javac error output calls 
out an invalid syntax.

Mark Leone wrote:

> I just tried to compile Axis 1.2RC3 with JDK 1.5, and got 16 compiler 
> errors (discussed in a previous thread here) caused by axis failing to 
> implement methods org.w3c.dom.Node.getUserData() and 
> org.w3c.dom.Document.renameNode(). I don't want to compile with 
> JDK1.4, so according to the thread I found in the archvies, I can just 
> drop xercesImpl-2_6_2.jar and xmlParserAPIs-2_6_2.jar into the 
> ws-axis/java/lib/endorsed directory, and copile with the 
> -Djava.endorsed.dir switch.
>
> However... he thread was written for RC2, but the same issue appears 
> to exist with RC3, and I can't find anything even close to the 
> directory mentioned above in the RC3 source distribution. Can someone 
> please tell me where to place these jar files to get axis to compile 
> in JDK 1.5? And where do I get teh jar files mentioned? I have those 
> files in my axis 1.1 server that I built frm source distribution, but 
> they don't have the 2_6_2 suffix in their file names. Their last 
> modified date 3/19/2003.
>