Starting with java 1.5, saaj is part of the core Java platform.
For some reason with java 1.5 jUDDI uses the saaj.jar lib bundled with jUDDI.
but with java 1.6 it uses the saaj whichcomes with the jdk or jre.

Thanks
Satguru

Allen Harvey wrote:
I compiled juddi with Java 1.6 Update 3 on Netbeans 6.0 beta 2 with all of the latest libs, and received the same error. Thus, unfortunately, recompiling does not help. This doesn't seem like a significant finding, so I won't post it unless you ask me to, Kurt.

Allen


On 10/29/07, *Allen Harvey* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    All,

    I stumbled upon the JUDDI project recently, and am going to try to
    fix the 1.6 bug as well. I got the registry to compile with Java
    1.6 last night, but haven't tested it yet.

    Allen


    On 10/29/07, *Kurt T Stam* <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:

        If you work your way through the issues, can you state your
        findings here:

        https://issues.apache.org/jira/browse/JUDDI-100
        <https://issues.apache.org/jira/browse/JUDDI-100>


        thx!

        --Kurt

        Jorge Martín Cuervo wrote:
        > maybe you have to compile juddi with java 6, have you tried?
        >
        > El dom, 28-10-2007 a las 14:17 -0500, satguru p srivastava
        escribió:
        >
        >> I am using
        >> a) tomcat 6.0.14 running on Java 1.6.0_01
        >> b) juddi 0.9rc4
        >>
        >> Get the following type of error when doing an inquiry
        >>
        ================================================================
        >> 2007-10-28 14:10:54,015 [http-8080-1] ERROR
        >> org.apache.juddi.registry.AbstractService  -
        >> com.sun.xml.internal.messaging.saaj.soap.impl.TextImpl
        cannot be cast to
        >> org.w3c.dom.Element
        >> java.lang.ClassCastException:
        >> com.sun.xml.internal.messaging.saaj.soap.impl.TextImpl
        cannot be cast to
        >> org.w3c.dom.Element
        >>         at
        >> org.apache.juddi.registry.AbstractService.doPost
        (AbstractService.java:103)
        >> ================================================================
        >>
        >>
        >> jUDDI works fine if I switch to Java 1.5.0
        >>
        >> Thanks
        >> Satguru
        >>
        >>
        >>
        >>
        >>
        >>
        ---------------------------------------------------------------------
        >> To unsubscribe, e-mail: [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
        >> For additional commands, e-mail:
        [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
        >>
        >>

        --
        Kurt T Stam
        [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

        callto://kurtstam
        c. +1 978.471.9213
        f. +1 432.224.0461



        ---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
        For additional commands, e-mail: [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to