You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Allen Harvey <ah...@gmail.com> on 2007/10/29 15:39:09 UTC

Re: jUDDI incompatible with Java 6.0

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 <ks...@apache.org> wrote:
>
> If you work your way through the issues, can you state your findings here:
>
> 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: juddi-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: juddi-user-help@ws.apache.org
> >>
> >>
>
> --
> Kurt T Stam
> kstam@apache.org
>
> callto://kurtstam
> c. +1 978.471.9213
> f. +1 432.224.0461
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: juddi-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: juddi-user-help@ws.apache.org
>
>

Re: jUDDI incompatible with Java 6.0

Posted by satguru p srivastava <ss...@mchsi.com>.
Sorry..
saaj is part of java 1.6 not  1.5

satguru p srivastava wrote:
> 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* <aharvey@gmail.com 
>> <ma...@gmail.com>> 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* <kstam@apache.org
>>     <ma...@apache.org>> 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: juddi-user-unsubscribe@ws.apache.org
>>         <ma...@ws.apache.org>
>>         >> For additional commands, e-mail:
>>         juddi-user-help@ws.apache.org
>>         <ma...@ws.apache.org>
>>         >>
>>         >>
>>
>>         --
>>         Kurt T Stam
>>         kstam@apache.org <ma...@apache.org>
>>
>>         callto://kurtstam
>>         c. +1 978.471.9213
>>         f. +1 432.224.0461
>>
>>
>>
>>         
>> ---------------------------------------------------------------------
>>         To unsubscribe, e-mail: juddi-user-unsubscribe@ws.apache.org
>>         <ma...@ws.apache.org>
>>         For additional commands, e-mail: juddi-user-help@ws.apache.org
>>         <ma...@ws.apache.org>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: juddi-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: juddi-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-user-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-user-help@ws.apache.org


Re: jUDDI incompatible with Java 6.0

Posted by satguru p srivastava <ss...@mchsi.com>.
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* <aharvey@gmail.com 
> <ma...@gmail.com>> 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* <kstam@apache.org
>     <ma...@apache.org>> 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: juddi-user-unsubscribe@ws.apache.org
>         <ma...@ws.apache.org>
>         >> For additional commands, e-mail:
>         juddi-user-help@ws.apache.org
>         <ma...@ws.apache.org>
>         >>
>         >>
>
>         --
>         Kurt T Stam
>         kstam@apache.org <ma...@apache.org>
>
>         callto://kurtstam
>         c. +1 978.471.9213
>         f. +1 432.224.0461
>
>
>
>         ---------------------------------------------------------------------
>         To unsubscribe, e-mail: juddi-user-unsubscribe@ws.apache.org
>         <ma...@ws.apache.org>
>         For additional commands, e-mail: juddi-user-help@ws.apache.org
>         <ma...@ws.apache.org>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-user-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-user-help@ws.apache.org


Re: jUDDI incompatible with Java 6.0

Posted by Allen Harvey <ah...@gmail.com>.
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 <ah...@gmail.com> 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 <ks...@apache.org> wrote:
> >
> > If you work your way through the issues, can you state your findings
> > here:
> >
> > 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: juddi-user-unsubscribe@ws.apache.org
> > >> For additional commands, e-mail: juddi-user-help@ws.apache.org
> > >>
> > >>
> >
> > --
> > Kurt T Stam
> > kstam@apache.org
> >
> > callto://kurtstam
> > c. +1 978.471.9213
> > f. +1 432.224.0461
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: juddi-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: juddi-user-help@ws.apache.org
> >
> >
>