You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Pae Choi <p2...@juno.com> on 2004/12/03 15:18:21 UTC

Re: Errors using jUDDI registry deployed in JOnAS

Some of packages in jUDDI is already contained in JOnAS which
is the main cause of your problem. If you look at the JOnAS Doc,
it also mentioned that JOnAS took out the redundant packages
for "optimization" purpose.

The simple way to solve your problem is to take those redundant
packages out.

Regards,


Pae


----- Original Message -----
From: <ma...@inrialpes.fr>
To: <ju...@ws.apache.org>
Sent: Thursday, November 25, 2004 1:35 PM
Subject: Errors using jUDDI registry deployed in JOnAS


> Hi,
>
> I get the following errors when trying to access the jUDDI registry that
> comes with JOnAS (latest version).
>
> Client using the JAXR implementation contained in JOnAS:
> SEVERE: java.lang.ClassNotFoundException:
> com/sun/xml/registry/uddi/bindingsv2/Soapenv:Fault
> java.lang.ClassCastException
>         at
> com.sun.xml.registry.common.util.CastorUtil.unmarshalObject(Unknown
Source)
>         at com.sun.xml.registry.uddi.Processor.processResponse(Unknown
>  Source) at com.sun.xml.registry.uddi.Processor.processRequest(Unknown
>  Source) at
>  com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown
Source)
>         at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown
> Source)
>         at Test.main(Test.java:38)
> Exception in thread "main" java.lang.NullPointerException
>         at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown
> Source)
>         at Test.main(Test.java:38)
> make: *** [run2] Error 1
>
> Client using the JAXR implementation contained in JWSDP 1.5:
> Exception in thread "main" java.lang.IllegalArgumentException
>         at
>
com.sun.xml.registry.uddi.bindings_v2.impl.runtime.UnmarshallerImpl.unmarsha
l
> (Unknown Source)
>         at
>
com.sun.xml.registry.common.util.MarshallerUtil.jaxbUnmarshalObject(Unknown
> Source)
>         at com.sun.xml.registry.uddi.Processor.processResponseJAXB(Unknown
> Source)
>         at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown
> Source)
>         at
com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown
> Source)
>         at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown
> Source)
>         at Test.main(Test.java:38)
>
> I have tried to upgrade to jUDDI 0.9rc3 using the JOnAS howto at
> http://jonas.objectweb.org/current/doc/howto/install_juddi.html, but I get
> the same exceptions.
>
> Please find enclosed the test client and Makefile I use.
> Thanks in advance for any help.
> regards,
>
> --
> Mathieu Peltier
> ObjectWeb Consortium  - INRIA
> E-mail: mathieu.peltier at inrialpes.fr
>
>
>


Re: Errors using jUDDI registry deployed in JOnAS

Posted by Mathieu Peltier <ma...@inrialpes.fr>.
On Friday 03 December 2004 15:18, Pae Choi wrote:

> Some of packages in jUDDI is already contained in JOnAS which
> is the main cause of your problem. If you look at the JOnAS Doc,
> it also mentioned that JOnAS took out the redundant packages
> for "optimization" purpose.
>
> The simple way to solve your problem is to take those redundant
> packages out.
>
> Regards,

Hi,

Thanks for the answer. Here is exactly what I have done:

- installed JOnAS from CVS (02-12-04)

- installed jUDDI 0.9rc3: 
  - copied juddi webapp into JOnAS webapps directory (with only juddi.jar in 
WEB-INF/lib/ dir -> removed all other jar that are already in JOnAS distrib)
  - set up HSQL db for jUDDI from sql script contained in jUDDI 0.9rc3 tgz.

- launched JOnAS (happyjuddi.jsp seems to be happy)

- launched test client that I have attached in my previous mail (see 
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=juddi-user@ws.apache.org&msgNo=818):

Getting Connection interface...
Dec 3, 2004 5:32:07 PM com.sun.xml.registry.common.util.CastorUtil$2 run
SEVERE: java.lang.ClassNotFoundException: 
com/sun/xml/registry/uddi/bindingsv2/Soapenv:Fault
java.lang.ClassCastException
        at 
com.sun.xml.registry.common.util.CastorUtil.unmarshalObject(Unknown Source)
        at com.sun.xml.registry.uddi.Processor.processResponse(Unknown Source)
        at com.sun.xml.registry.uddi.Processor.processRequest(Unknown Source)
        at com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown 
Source)
        at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown 
Source)
        at Test.main(Test.java:38)
Exception in thread "main" java.lang.NullPointerException
        at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown 
Source)
        at Test.main(Test.java:38)
make: *** [run2] Error 1

Any suggestion?
thanks,

> ----- Original Message -----
> From: <ma...@inrialpes.fr>
> To: <ju...@ws.apache.org>
> Sent: Thursday, November 25, 2004 1:35 PM
> Subject: Errors using jUDDI registry deployed in JOnAS
>
> > Hi,
> >
> > I get the following errors when trying to access the jUDDI registry that
> > comes with JOnAS (latest version).
> >
> > Client using the JAXR implementation contained in JOnAS:
> > SEVERE: java.lang.ClassNotFoundException:
> > com/sun/xml/registry/uddi/bindingsv2/Soapenv:Fault
> > java.lang.ClassCastException
> >         at
> > com.sun.xml.registry.common.util.CastorUtil.unmarshalObject(Unknown
>
> Source)
>
> >         at com.sun.xml.registry.uddi.Processor.processResponse(Unknown
> >  Source) at com.sun.xml.registry.uddi.Processor.processRequest(Unknown
> >  Source) at
> >  com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown
>
> Source)
>
> >         at
> > com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown Source)
> >         at Test.main(Test.java:38)
> > Exception in thread "main" java.lang.NullPointerException
> >         at
> > com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown Source)
> >         at Test.main(Test.java:38)
> > make: *** [run2] Error 1
> >
> > Client using the JAXR implementation contained in JWSDP 1.5:
> > Exception in thread "main" java.lang.IllegalArgumentException
> >         at
>
> com.sun.xml.registry.uddi.bindings_v2.impl.runtime.UnmarshallerImpl.unmarsh
>a l
>
> > (Unknown Source)
> >         at
>
> com.sun.xml.registry.common.util.MarshallerUtil.jaxbUnmarshalObject(Unknown
>
> > Source)
> >         at
> > com.sun.xml.registry.uddi.Processor.processResponseJAXB(Unknown Source)
> >         at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown
> > Source)
> >         at
>
> com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown
>
> > Source)
> >         at
> > com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown Source)
> >         at Test.main(Test.java:38)
> >
> > I have tried to upgrade to jUDDI 0.9rc3 using the JOnAS howto at
> > http://jonas.objectweb.org/current/doc/howto/install_juddi.html, but I
> > get the same exceptions.
> >
> > Please find enclosed the test client and Makefile I use.
> > Thanks in advance for any help.
> > regards,

-- 
Mathieu Peltier
ObjectWeb Consortium  - INRIA
E-mail: mathieu.peltier at inrialpes.fr