You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by "Viens, Steve" <St...@FMR.COM> on 2004/01/07 20:53:59 UTC
RE: Cannot access jUDDI registry usgin UDDI4J's example: FindBusi
nessExample
Michael,
I just thought of something you might try. If you have a copy of Axis
someplace, grab the "happyaxis.jsp" page from the distribution's webapp/axis
directory and drop it into the jUDDI webapp (into the same directory as
happyjuddi.jsp). Then point you're browser at the JSP and see if it reports
any problems.
When I deployed Axis to my Tomcat 5 instance the happyaxis.jsp page
indicated that I needed to add activation.jar (Java Activation Framework) to
the classpath (I added it to Tomcat Dir/common/lib which is where Tomcat 4.x
use to include it).
Steve
-----Original Message-----
From: Huanlin Tsai [mailto:hltsai@hotmail.com]
Sent: Monday, December 29, 2003 10:29 AM
To: juddi-user@ws.apache.org
Subject: Cannot access jUDDI registry usgin UDDI4J's example:
FindBusinessExample
Hi,
I'm new to jUDDI, I have installed Tomcat 5, Axis 1.1, UDDI4J 2.0.2 and
jUDDI 0.8.0.
The jUDDI validation page shows everything is fine .
First, I use UDDI4J's example FindBusinessExample.java to access IBM test
registry, and it works fine.
I can see the returned business names. But when I try to inquiry jUDDI
registry (http://localhost:8080/juddi/inquiry) , exception happen:
at org.uddi4j.UDDIElement.<init>(Unknown Source)
at org.uddi4j.response.BusinessList.<init>(Unknown Source)
at org.uddi4j.client.UDDIProxy.find_business(Unknown Source)
at FindBusinessExample.run(FindBusinessExample.java:76)
at FindBusinessExample.main(FindBusinessExample.java:46)
How can I solve it?
BTW, http://127.0.0.1:8080/juddi/admin has not effect on my computer, is it
correct? (I have modified the web.xml to enable administrative services)
If I post in a wrong place, please let me know. tks!
Michael
_________________________________________________________________
�F�ھ��� MSN ���TĿ䛣��ھ��ϽY�������ѣ��ҵ��dȤ��Ͷ��ⷰ�
http://members.msn.com?pgmarket=zh-tw
Cannot access jUDDI registry usgin UDDI4J's example: SaveBusinessExample
Posted by David Hermet <da...@isima.fr>.
Hello,
I have almost the same problem, but in my case, it works fine with UDDI4J's
example "FindBusinessExample.java" to inquiry jUDDI registry
(http://localhost:8080/juddi/inquiry).
On the other hand, when i use UDDI4J's example "SaveBusinessExample.java" to
publish in jUDDI registry (http://localhost:8080/juddi/publish), an
exception occurs :
*********** Running SaveBusinessExample ***********
Get authtoken
Returned authToken:authToken:CD269650-41AF-11D8-B056-ED5F56F5C088
Save 'ProviderTest'
at org.uddi4j.UDDIElement.<init>(Unknown Source)
at org.uddi4j.response.BusinessDetail.<init>(Unknown Source)
at org.uddi4j.client.UDDIProxy.save_business(Unknown Source)
at SaveBusinessExample.run(SaveBusinessExample.java:88)
at SaveBusinessExample.main(SaveBusinessExample.java:51)
I'm working with :
- Windows 2000
- Tomcat 4.1.27
- Java 1.4.1_06
- Juddi 0.7.0
- MySql 4.0.17
- UDDI4J 2.0beta
Would you have an idea to resolve this problem?
Thanks,
David.
----- Original Message -----
From: "Viens, Steve" <St...@FMR.COM>
To: <ju...@ws.apache.org>
Sent: Wednesday, January 07, 2004 8:53 PM
Subject: RE: Cannot access jUDDI registry usgin UDDI4J's example:
FindBusinessExample
> Michael,
>
> I just thought of something you might try. If you have a copy of Axis
> someplace, grab the "happyaxis.jsp" page from the distribution's
webapp/axis
> directory and drop it into the jUDDI webapp (into the same directory as
> happyjuddi.jsp). Then point you're browser at the JSP and see if it
reports
> any problems.
>
> When I deployed Axis to my Tomcat 5 instance the happyaxis.jsp page
> indicated that I needed to add activation.jar (Java Activation Framework)
to
> the classpath (I added it to Tomcat Dir/common/lib which is where Tomcat
4.x
> use to include it).
>
> Steve
>
> -----Original Message-----
> From: Huanlin Tsai [mailto:hltsai@hotmail.com]
> Sent: Monday, December 29, 2003 10:29 AM
> To: juddi-user@ws.apache.org
> Subject: Cannot access jUDDI registry usgin UDDI4J's example:
> FindBusinessExample
>
>
> Hi,
> I'm new to jUDDI, I have installed Tomcat 5, Axis 1.1, UDDI4J 2.0.2 and
> jUDDI 0.8.0.
> The jUDDI validation page shows everything is fine .
>
> First, I use UDDI4J's example FindBusinessExample.java to access IBM test
> registry, and it works fine.
> I can see the returned business names. But when I try to inquiry jUDDI
> registry (http://localhost:8080/juddi/inquiry) , exception happen:
>
> at org.uddi4j.UDDIElement.<init>(Unknown Source)
> at org.uddi4j.response.BusinessList.<init>(Unknown Source)
> at org.uddi4j.client.UDDIProxy.find_business(Unknown Source)
> at FindBusinessExample.run(FindBusinessExample.java:76)
> at FindBusinessExample.main(FindBusinessExample.java:46)
>
> How can I solve it?
>
> BTW, http://127.0.0.1:8080/juddi/admin has not effect on my computer, is
it
> correct? (I have modified the web.xml to enable administrative services)
>
> If I post in a wrong place, please let me know. tks!
>
> Michael
>
> _________________________________________________________________
> �F�ھ��� MSN ���TĿ䛣��ھ��ϽY�������ѣ��ҵ��dȤ��Ͷ��ⷰ�
> http://members.msn.com?pgmarket=zh-tw