Hallo Andreas,

where and which directory do I have to investigate on Windows Vista to say
Yes, the endorsed libraries have Xerxes or no there is no such thing endorsed.

I was just seeking under C:\Program Files\JAVA\.... for any *.jar and then 
checked
and could not find any Xerces.jar or a jar with such a name being part of it.

So which directory do you refer to when you say endorsed lib in this situation?

Sorry, but very thank full for any help.

Again - it fails when I build it on Vista using JDK 1.5.0_18 and succeeds when 
building it using JDK 1.6.0_22

Is it possible that Rampart depends in JAVA JDK 6.0 in a way?

Josef





-----Ursprüngliche Nachricht-----
Von: Andreas Veithen [mailto:andreas.veit...@gmail.com] 
Gesendet: Montag, 17. Oktober 2011 17:49
An: java-user@axis.apache.org
Betreff: Re: [Rampart-1.6.0] Build fails with JDK 15.0 but succeeds with JDK 
1.6.0

Josef,

Rampart normally builds fine with Java 1.5. There is however a known
issue that occurs when the JRE provides a Xerces version that uses the
original package name (org.apache.xerces). I've seen this on IBM JDKs,
while with Sun/Oracle JDKs, they normally use a Xerces version with a
modified package name (com.sun.*). Is it possible that you have added
Xerces to the endorsed libraries of the JRE?

Andreas

On Mon, Oct 17, 2011 at 17:03, Stadelmann Josef
<josef.stadelm...@axa-winterthur.ch> wrote:
> I have a demand to build Rampart using JDK 1.5.0_18
>
> /asf/axis/axis2/java/core/tags/v1.6.0           using JDK1.5.0_18 success
>
> /asf/axis/axis2/java/rampart/tags/v1.6.0        using JDK1.5.0_18 failed
>
> /asf/axis/axis2/java/rampart/tags/v1.6.0        using JDK1.6.0_22 success
>
> This on Windows Vits SP2
>
> One could now arg that it isnot necessary to build Rampart under JAVA
> 1.5.0_18
>
> But our JVM on OpenVMS to which we move the built Rampart tereafter does not
> have
>
> A JPDA Debugger Port for its JDK 1.6.0_22 JVM, hence we are unable to debugg
> on
>
> OpenVMS as we can't have sources and jars built with different JAVA
> Compilers
>
> And expect the debugger to work correctly under NetBeans
>
> In this case the only working way is tio use JDK 1.5.0_18 and maven 2.2.1 to
> build
>
> Rampart. However that fails while building with JDK 1.6.0_22 builds
> successfully.
>
> Question:
>
> Is it possible to build Rampart-1.6.0 like Axis2-1.6.0 using a JAVAC 1.5.0
> compiler?
>
> In this case the following failer occures when building Rampart-1.6.0 taged
> version.
>
> The build log is attached here.
>
> <<Rampart_build_with_JDK_1.5.0_18.log>>
>
> What are your recommenadtions
>
> Josef
>
> using
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-user-h...@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to