Mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feng Tang" <fe...@thedistillery.com.au>
Subject RE: "inquiry" and "publish" deployment for juddi
Date Thu, 24 Feb 2005 22:33:14 GMT
Alix,

Also, I have never met your problem before. So I can only guess the
problem.

I think first, your inquiryURL and publishURL are incomplete.

They should be http://localhost:8080/juddi/inquiry, and
http://localhost:8080/juddi/publish.



Another thing is if you insert a business into dataStore by SQL insert
command, how can you set the value in BusinessKey column? Does it affect
find business command, I am not sure? But through the exception you met,
moved temporary looks like you didn't insert the complete business
information, so juddi can't recognized it properly.



If you have no data in database, you can also run find business example,
and it just returns nothing, but not exception. Then you can immediately
try save business example, it will store a very simple business sample
into database. You don't need to do any more setup than doing a find
business operation.



Good luck and tell me if any progress. :-)



-----Original Message-----
From: Alix Pouladdej [mailto:alixpyh@yahoo.com]
Sent: Friday, 25 February 2005 5:03 AM
To: juddi-user@ws.apache.org; feng.tang@thedistillery.com.au
Subject: RE: "inquiry" and "publish" deployment for juddi



Feng,

I have set up juddi from the *.war file. I have also updated the
samples.prop

with inquire and publish URL as follows:


# IBM UDDI test site
inquiryURL = http://localhost:8080/juddi
publishURL = http://localhost:8080/juddi



as well as userid and password.



I have also added an entry for a Business into the DataSource
(PostgreSQL) directly by the SQL INSERT command.



When I run FindBusinessExample now, I get:



D:\uddi4j\samples>java FindBusinessExample

*********** Running FindBusinessExample ***********
(302)Moved Temporarily
        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)



Any ideas?

Alix




Feng Tang <fengt@thedistillery.com.au> wrote:

I am not quite sure your problem. Have you used the sample.properties
file in UDDI4j sample codes?

You should also set the properties in the sample.properties properly,
such as URL. At my first attempt to use juddi, I even didn't rebuild the

juddi src code and directly put the juddi.war from web site into server.
And it works. So set the sample.properties.



-----Original Message-----
From: Alix Pouladdej [mailto:alixpyh@yahoo.com]
Sent: Thursday, 24 February 2005 7:14 AM
To: juddi-user@ws.apache.org
Subject: "inquiry" and "publish" deployment for juddi



To follow up with my earlier problem of :

 java.net.MalformedURLException
        at java.net.URL.<init>(URL.java:601)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)
        at org.uddi4j.client.UDDIProxy.setInquiryURL(Unknown Source)
        at FindBusinessExample.run(FindBusinessExample.java:63)
        at FindBusinessExample.main(FindBusinessExample.java:46)



having given the following:



# jUDDI Proxy Properties (used by RegistryProxy)
juddi.proxy.adminURL = http://localhost:8080/juddi/admin
juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
juddi.proxy.publishURL = http://localhost:8080/juddi/publish
juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol



from juddi.properties file.



Does one need to explicitly activate "inquiry" and "publish"
functionality for juddi after a juddi server installation?

Thanks,

ALEX






  _____


Post your free ad now!  <http://ca.personals.yahoo.com/> Yahoo! Canada
Personals


  _____


The Distillery Pty Limited
ABN 69 080 932 467
P.O. Box 940
Dickson ACT, 2602.
Australia
Phone: +61 2 6272 0200
Fax: +61 2 62625151
Web: www.thedistillery.com.au <http://www.thedistillery.com.au/>

The Distillery Inc.
2111 Wilson Blvd, Suite 700
Arlington, Virginia 22201
USA
Phone: +1 703 351 5082
Web: www.thedistilleryinc.com <http://www.thedistilleryinc.com/>

The Distillery (Europe) Ltd
53 Chandos Place
London WC2N 4HS
United Kingdom
Phone: +44 (0)20 7812 6692
Fax: +44 (0)20 7812 6677


  _____


The information contained in this email and any files attached may be
confidential and/or copyrighted information of The Distillery, Third
Parties and/or the intended recipient and may be the subject of legal
privilege or public interest immunity. You may only reproduce or
distribute the material if you are expressly authorised by us to do so.
If you are not the intended recipient, any use, disclosure, copying,
circulation, forwarding, printing or publication of this message or
attached files is strictly forbidden.

If you have received this document in error or are not an intended
recipient, please notify the sender immediately and delete from your
Inbox and/or system.

The Distillery does not represent or warrant that files attached to this
e-mail are free from computer viruses or other defects and liability is
limited to the resupply (or cost of resupply) of the attached files.


  _____






  _____

Post your free ad now!  <http://ca.personals.yahoo.com/> Yahoo! Canada
Personals



The Distillery Pty Limited
ABN 69 080 932 467
PO Box 940, Dickson ACT 2602, AUSTRALIA
Phone: +61 2 6272 0200
Fax: +61 2 6262 5151
Web: www.thedistillery.com.au

The Distillery Inc
2111 Wilson Blvd, Suite 700,
Arlington, Virginia 22201, USA
Phone: +1 703 351 5082
Web: www.thedistilleryinc.com

The Distillery (Europe) Ltd
53 Chandos Place London WC2N 4HS
Tel: +44 (0)20 7812 6692
Fax: +44 (0)20 7812 6677


---------------------------------------------------------------------
The information contained in this email and any files attached may be
confidential and/or copyrighted information of The Distillery, Third
Parties and/or the intended recipient and may be the subject of legal
privilege or public interest immunity. You may only reproduce or
distribute the material if you are expressly authorised by us to do
so. If you are not the intended recipient, any use, disclosure,
copying, circulation, forwarding, printing or publication of this
message or attached files is strictly forbidden.

If you have received this document in error or are not an intended
recipient, please notify the sender and delete from your Inbox and/or
system.

The Distillery does not represent or warrant that files attached to
this e-mail are free from computer viruses or other defects and
liability is limited to the resupply (or cost of resupply) of the
attached files.
---------------------------------------------------------------------
Mime
View raw message