You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Honorez Dylan <Dy...@cronos.be> on 2005/06/07 15:39:24 UTC

Authentication fails

Hi guys,

 

We're picking up the UDDI again, and I'm having some difficulties
authenticating.

 

I'm using jUDDI v0.9 rc 3 on Jonas. I had some JNDI issues at first, but
managed to configure it correctly now. jUDDI happiness page shows
everything should be ok. 

I inserted 2 publishers (juddi and admin). When I try to get and
authorization token with uddi4j, things start to fail. 

 

Doesn't matter whether I use 'admin' or 'juddi' to authenticate (both in
publishers), I always get a serverexception.

 

Here are the errors:

*********** Running BusinessServiceExample ***********

 

Get authtoken

TransportFactory: Using transport
name:org.uddi4j.transport.ApacheAxisTransport

 

Request message:

<ns1:get_authToken generic="2.0" xmlns="urn:uddi-org:api_v2"
userID="admin" cred="password" xmlns:ns1="urn:uddi-org:api_v2"/>

 

Response message:

<soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server</faultcode><faultstri
ng>Server Error</faultstring><detail><ns2:stackTrace
xmlns:ns2="http://xml.apache.org/axis/">Server Error

            at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:470)

            at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:285)

            ...

 

</ns2:stackTrace><ns3:hostname
xmlns:ns3="http://xml.apache.org/axis/">ws03-bpel</ns3:hostname></detail
></soapenv:Fault>

Server Error

            at org.uddi4j.UDDIElement.<init>(UDDIElement.java:38)

            at org.uddi4j.response.AuthToken.<init>(AuthToken.java:84)

            at
org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1459)

            at
uddi4j.samples.BusinessServiceExample.run(BusinessServiceExample.java:78
)

            ...

 

Am I forgetting something, or what could be a configuration error?

 

Kind regards,

 

Dylan Honorez

_______________________________________________

 

                  kZEN | 4C

Researcher & Developer | Integration Consultant

_______________________________________________

 


Status of jUDDI 0.9rc4

Posted by Steve Viens <st...@viens.net>.
I ran out of time producing the release last night ... I have the source
and binary zip's & tar.gz's ready but I need to prep the files (sign
them etc) and submit into the Apache mirror system which I'll do
tonight.
 
Steve

-----Original Message-----
From: Steve Viens [mailto:steve@viens.net] 
Sent: Tuesday, June 07, 2005 7:08 PM
To: juddi-user@ws.apache.org
Subject: RE: Authentication fails


Dylan, 
 
I'm cutting a long overdue 0.9rc4 tonight which will most likely become
0.9 final in the next couple of weeks ... just want to make sure the
package is usable before going final and I'd like to update the doc as
well.  The 0.9rc4 has months of work/fixes in it and probably should be
a 1.0 as has been suggested on this list but we had voted on releasing a
0.9rc4 and should stick with the vote.
 
I'll send an announcement to the juddi-user and juddi-dev list when it's
available)
 
Steve


RE: Authentication fails

Posted by Steve Viens <st...@viens.net>.
Dylan, 
 
I'm cutting a long overdue 0.9rc4 tonight which will most likely become
0.9 final in the next couple of weeks ... just want to make sure the
package is usable before going final and I'd like to update the doc as
well.  The 0.9rc4 has months of work/fixes in it and probably should be
a 1.0 as has been suggested on this list but we had voted on releasing a
0.9rc4 and should stick with the vote.
 
I'll send an announcement to the juddi-user and juddi-dev list when it's
available)
 
Steve

-----Original Message-----
From: Honorez Dylan [mailto:Dylan.Honorez@cronos.be] 
Sent: Tuesday, June 07, 2005 9:39 AM
To: juddi-user@ws.apache.org
Subject: Authentication fails



Hi guys,

 

We're picking up the UDDI again, and I'm having some difficulties
authenticating.

 

I'm using jUDDI v0.9 rc 3 on Jonas. I had some JNDI issues at first, but
managed to configure it correctly now. jUDDI happiness page shows
everything should be ok. 

I inserted 2 publishers (juddi and admin). When I try to get and
authorization token with uddi4j, things start to fail. 

 

Doesn't matter whether I use 'admin' or 'juddi' to authenticate (both in
publishers), I always get a serverexception.

 

Here are the errors:

*********** Running BusinessServiceExample ***********

 

Get authtoken

TransportFactory: Using transport
name:org.uddi4j.transport.ApacheAxisTransport

 

Request message:

<ns1:get_authToken generic="2.0" xmlns="urn:uddi-org:api_v2"
userID="admin" cred="password" xmlns:ns1="urn:uddi-org:api_v2"/>

 

Response message:

<soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server</faultcode><faultstri
ng>Server Error</faultstring><detail><ns2:stackTrace
xmlns:ns2="http://xml.apache.org/axis/">Server Error

            at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:470)

            at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:285)

            .

 

</ns2:stackTrace><ns3:hostname
xmlns:ns3="http://xml.apache.org/axis/">ws03-bpel</ns3:hostname></detail
></soapenv:Fault>

Server Error

            at org.uddi4j.UDDIElement.<init>(UDDIElement.java:38)

            at org.uddi4j.response.AuthToken.<init>(AuthToken.java:84)

            at
org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1459)

            at
uddi4j.samples.BusinessServiceExample.run(BusinessServiceExample.java:78
)

            .

 

Am I forgetting something, or what could be a configuration error?

 

Kind regards,

 

Dylan Honorez

_______________________________________________

 

                  kZEN | 4C

Researcher & Developer | Integration Consultant

_______________________________________________