Return-Path: Delivered-To: apmail-ws-juddi-dev-archive@www.apache.org Received: (qmail 65096 invoked from network); 4 Dec 2008 13:13:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 13:13:45 -0000 Received: (qmail 16097 invoked by uid 500); 4 Dec 2008 13:13:57 -0000 Delivered-To: apmail-ws-juddi-dev-archive@ws.apache.org Received: (qmail 16074 invoked by uid 500); 4 Dec 2008 13:13:57 -0000 Mailing-List: contact juddi-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: juddi-dev@ws.apache.org List-Id: Delivered-To: mailing list juddi-dev@ws.apache.org Received: (qmail 16063 invoked by uid 99); 4 Dec 2008 13:13:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 05:13:57 -0800 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=FUZZY_CREDIT,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pas.campitiello@gmail.com designates 74.125.44.158 as permitted sender) Received: from [74.125.44.158] (HELO yx-out-1718.google.com) (74.125.44.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 13:12:25 +0000 Received: by yx-out-1718.google.com with SMTP id 6so3231134yxn.88 for ; Thu, 04 Dec 2008 05:13:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=hofxjoqRGppFZGOUNGQWUPP+jpEqnVgktSJ2jkB3M0U=; b=MFXeMEeepxy1YlpTfRnILBwLxnbT/YBrWxQdZyiAyYD18YFUI+bZktkeaXTLJjHPoH XVcaVUb3QbUL0wijHMSD5aGt2KPdh+wBSxkHfQ0wc1ov8/yLCCNG4hlXppY+zMTyJ1BX /Wc+XIZVBtd2pPyg6dClyww2m/M6kJfpbfIik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=aADTr1h57nyYSIVA8cu7w2w2MVq3Bl0UAWwnicTYPmpKMHPrajmk6eDV+GYZlG6w/N YtuDGugIcX56zqLdxKJsSHSwU8NgePa8IfoOcGnwEvkh4QQqFqu+t+eWgzctulyGd6jn j9DmLhCO6Qg4n1TSZ06laD30HruPigYBoQ8jE= Received: by 10.90.35.15 with SMTP id i15mr7925222agi.23.1228396383378; Thu, 04 Dec 2008 05:13:03 -0800 (PST) Received: by 10.90.51.11 with HTTP; Thu, 4 Dec 2008 05:13:03 -0800 (PST) Message-ID: <70bc554c0812040513t51a5558axefc122e2605ada71@mail.gmail.com> Date: Thu, 4 Dec 2008 14:13:03 +0100 From: "Pasquale Campitiello" To: juddi-dev@ws.apache.org Subject: Re: Fwd: Link jUDDI 0.9rc4 to Synapse 1.2 In-Reply-To: <49373AB7.2030809@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21492_30211214.1228396383360" References: <70bc554c0811301551m23b56e62w87f037b0778ce7bc@mail.gmail.com> <70bc554c0812011150g19706007t7f21b87ccc198d76@mail.gmail.com> <4934465C.6000009@gmail.com> <70bc554c0812011415m759faba2i2c7d99e841a2d7fe@mail.gmail.com> <70bc554c0812011423x70f245a6u6f14023636509a36@mail.gmail.com> <70bc554c0812021526m2df03d4csa46fc1a90d7a8a4e@mail.gmail.com> <001601c954da$40a9e6d0$c1fdb470$@org> <70bc554c0812031437o41275d96td832858739149abb@mail.gmail.com> <49373AB7.2030809@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_21492_30211214.1228396383360 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Initially I had some problems with jUDDI 2.0rc5 and I found out more information (only on mailing list) about jUDDI 0.9rc4. So, essentially, now I use jUDDI 0.9rc4 because I configured correctly jUDDI 0.9rc4! And I can to use the console (*one of the problems with jUDDI 2.0rc5 was that I didn't see any console...*) I take advantage of this mail to ask: *it could be easier to link jUDDI 2.0rc5 to Synapse 1.2?* I just know that I need to write an implementation of the interface: http://synapse.apache.org/apidocs/org/apache/synapse/registry/Registry.html (and http://synapse.apache.org/apidocs/org/apache/synapse/registry/RegistryEntry.html?) Pasquale 2008/12/4 Kurt T Stam > Good to hear Paquale, > > Any reason you are not using the latest (2.0rc5) release? > > --Kurt > > > Pasquale Campitiello wrote: > > Ok. We solved that problem. > > I reinstalled the *JDK 5.0 Update 10*. The problem was not in the > CLASSPATH or the JAVA_HOME, but it was the JVM used by Apache Tomcat: I > right clicked on the Monitor Tomcat icon --> Configure... --> tab Java --> > browse and set the JDK 5.0_10 JVM (in my case > C:\Programmi\Java\jdk_jee_5u10\jdk\jre\bin\server\jvm.dll). > > Thank you, I go on with the project to link jUDDI 0.9rc4 to Synapse 1.2. > > Pasquale > > > > > 2008/12/3 Jeff Faath > >> Have you tried setting logging to 'debug' for juddi and inspecting the >> log file. You should be able to get much more detailed information about >> what is going on. >> >> >> >> *From:* Pasquale Campitiello [mailto:pas.campitiello@gmail.com] >> *Sent:* Tuesday, December 02, 2008 5:26 PM >> *To:* juddi-dev@ws.apache.org >> *Subject:* Re: Fwd: Link jUDDI 0.9rc4 to Synapse 1.2 >> >> >> >> I continued googling but I really don't undestand this error. I tried to >> insert other publishers, but it's the same. >> When I click in *get_authToken* in *userID *I have to insert the >> publisher ID and in *cred *the password? But, what password? Or I have to >> insert something else (credentials)? I tried everything... but I really >> don't know. >> >> >> >> >> > userID="***" >> cred="***"/> >> >> >> >> My system details are: >> >> Windows XP SP2 >> Apache TomCat 5.5 >> jUDDI Version: 0.9rc4 [ I have to use versione 0.9 not 2.0. Is it >> possible to update 0.9 to the recent one? ] >> Build Date: 14 giugno 2005 7.20.20 CEST >> UDDI Version: 2.0 >> MySQL Server 5.1 >> Java version "1.6.0_10" >> >> >> >> Thanks >> >> Pasquale Campitiello >> >> >> 2008/12/1 Pasquale Campitiello >> >> In the console, when I click on get_authToken I get the form with: >> >> >> >> >> >> >> >> > userID="***" >> cred="***"/> >> >> >> >> In the "***" of userID and cred I tried the combinations "juddi" + >> "juddi" or "juddi" + "" or "juddi" + "123456" or "jdoe" + "" but >> it's the same error. >> >> 2008/12/1 Pasquale Campitiello >> >> >> >> Yes. To configure jUDDI I followed the official document >> >> >> >> http://svn.apache.org/viewvc/webservices/juddi/trunk/docs/Getting-Started.pdf?revision=547750 >> >> so my configuration file are exactly like specified in the document, and >> when I click Validate in http://localhost:8080/juddi/ my "jUDDI >> DataSource Validation" section is: >> >> jUDDI DataSource Validation >> >> + Got a JNDI Context! >> + Got a JDBC DataSource (dsname=java:comp/env/jdbc/juddiDB) >> + Got a JDBC Connection! >> + SELECT COUNT(*) FROM PUBLISHER = 1 >> >> >> In fact if I verify with MySQL: >> >> >> mysql> use juddi; >> Database changed >> mysql> select * from publisher; >> +--------------+----------------+---------------+----------+------------+ >> | PUBLISHER_ID | PUBLISHER_NAME | EMAIL_ADDRESS | IS_ADMIN | IS_ENABLED | >> +--------------+----------------+---------------+----------+------------+ >> | juddi | juddi | 123@123.org | true | true >> | >> +--------------+----------------+---------------+----------+------------+ >> 1 row in set (0.00 sec) >> >> >> >> 2008/12/1 Kurt T Stam >> >> >> >> Hi Pasquale, >> >> Did you add a publisher? >> >> >> http://svn.apache.org/viewvc/webservices/juddi/trunk/src/main/resources/juddi-sql/insert_publishers.sql?view=markup >> >> --K >> >> >> >> Pasquale Campitiello wrote: >> >> Hi, >> >> >> I'm an italian student. I'm trying to link Apache Synapse and jUDDI >> 0.9rc4. In order to implement the interface to link them I have to know how >> jUDDI "looks" to WSDL, how jUDDI can provide UDDI methods etc.. >> I configured correctly jUDDI: I can see the "Happy jUDDI!" page without >> errors. >> But I have a common problem: in the jUDDI console when I click >> get_authToken to obtain an authentication token, and I insert my user and >> cred I get always the same error: >> >> >> >> >> >> >> >> >> >> >> SOAP-ENV:Server >> >> Fault string, and possibly fault code, not set >> >> >> >> >> >> >> >> I tried every possible combination of user and cred ("juddi" + "juddi", >> "juddi" + ""; "juddi" + "123456"; "jdoe" + "", ecc.), but everytime >> I got this SOAP response. To configure jUDDI I followed the official >> document >> >> http://svn.apache.org/viewvc/webservices/juddi/trunk/docs/Getting-Started.pdf?revision=547750 >> so my configuration file are exactly like specified in the document. >> >> Googling I read about changing the JDK version. I tried JDK 5 update 10, >> JDK 5 update 16, JDK + JEE 5 update 10, but nothing changed, and besides >> with this versions I can't run Synapse. Now with JDK + JEE 6 update 10, I >> can run Synapse but I'm still blocked with jUDDI.Someone can help me? >> >> Thanks >> >> Pasquale >> >> >> >> >> >> >> >> >> >> >> > > > ------=_Part_21492_30211214.1228396383360 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Initially I had some problems with jUDDI 2.0rc5 and I found out more information (only on mailing list) about jUDDI 0.9rc4.
So, essentially, now I use jUDDI 0.9rc4 because I configured correctly jUDDI 0.9rc4! And I can to use the console (one of the problems with jUDDI 2.0rc5 was that I didn't see any console...)
 
I take advantage of this mail to ask: it could be easier to link jUDDI 2.0rc5 to Synapse 1.2?
I just know that I need to write an implementation of the interface:
 
Pasquale


 
2008/12/4 Kurt T Stam <kurt.stam@gmail.com>
Good to hear Paquale,

Any reason you are not using the latest (2.0rc5) release?

--Kurt


Pasquale Campitiello wrote:
Ok. We solved that problem.

I reinstalled the JDK 5.0 Update 10. The problem was not in the CLASSPATH or the JAVA_HOME, but it was the JVM used by Apache Tomcat: I right clicked on the Monitor Tomcat icon --> Configure... --> tab Java --> browse and set the JDK 5.0_10 JVM (in my case C:\Programmi\Java\jdk_jee_5u10\jdk\jre\bin\server\jvm.dll).

Thank you, I go on with the project to link jUDDI 0.9rc4 to Synapse 1.2.

Pasquale




2008/12/3 Jeff Faath <jfaath@apache.org>

Have you tried setting logging to 'debug' for juddi and inspecting the log file.  You should be able to get much more detailed information about what is going on.

 

From: Pasquale Campitiello [mailto:pas.campitiello@gmail.com]
Sent: Tuesday, December 02, 2008 5:26 PM
To: juddi-dev@ws.apache.org
Subject: Re: Fwd: Link jUDDI 0.9rc4 to Synapse 1.2

 

I continued googling but I really don't undestand this error. I tried to insert other publishers, but it's the same.
When I click in get_authToken in userID I have to insert the publisher ID and in cred the password? But, what password? Or I have to insert something else (credentials)? I tried everything... but I really don't know.

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <get_authToken generic="2.0" xmlns="urn:uddi-org:api_v2"
      userID="***"
      cred="***"/>
  </soapenv:Body>
</soapenv:Envelope>

My system details are:

Windows XP SP2
Apache TomCat 5.5
jUDDI Version: 0.9rc4   [ I have to use versione 0.9 not 2.0. Is it possible to update 0.9 to the recent one? ]
  Build Date: 14 giugno 2005 7.20.20 CEST
  UDDI Version: 2.0
MySQL Server 5.1
Java version "1.6.0_10"



Thanks

Pasquale Campitiello


2008/12/1 Pasquale Campitiello <pas.campitiello@gmail.com>

In the console, when I click on get_authToken I get the form with:



<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <get_authToken generic="2.0" xmlns="urn:uddi-org:api_v2"
      userID="***"
      cred="***"/>
  </soapenv:Body>
</soapenv:Envelope>

In the "***" of userID and cred I tried the combinations "juddi" + "juddi"  or   "juddi" + ""  or   "juddi" + "123456"  or  "jdoe" + "" but it's the same error.

2008/12/1 Pasquale Campitiello <pas.campitiello@gmail.com>

 

Yes. To configure jUDDI I followed the official document

so my configuration file are exactly like specified in the document, and when I click Validate in http://localhost:8080/juddi/ my "jUDDI DataSource Validation" section is:

 jUDDI DataSource Validation

 + Got a JNDI Context!
 + Got a JDBC DataSource (dsname=java:comp/env/jdbc/juddiDB)
 + Got a JDBC Connection!
 + SELECT COUNT(*) FROM PUBLISHER = 1


In fact if I verify with MySQL:


 mysql> use juddi;
 Database changed
 mysql> select * from publisher;
 +--------------+----------------+---------------+----------+------------+
 | PUBLISHER_ID | PUBLISHER_NAME | EMAIL_ADDRESS | IS_ADMIN | IS_ENABLED |
 +--------------+----------------+---------------+----------+------------+
 | juddi        | juddi          | 123@123.org   | true     | true       |
 +--------------+----------------+---------------+----------+------------+
 1 row in set (0.00 sec)



2008/12/1 Kurt T Stam <kurt.stam@gmail.com>

 

Hi Pasquale,

Did you add a publisher?

http://svn.apache.org/viewvc/webservices/juddi/trunk/src/main/resources/juddi-sql/insert_publishers.sql?view=markup

--K



Pasquale Campitiello wrote:

Hi,


I'm an italian student. I'm trying to link Apache Synapse and jUDDI 0.9rc4. In order to implement the interface to link them I have to know how jUDDI "looks" to WSDL, how jUDDI can provide UDDI methods etc..
I configured correctly jUDDI: I can see the "Happy jUDDI!" page without errors.
But I have a common problem: in the jUDDI console when I click get_authToken to obtain an authentication token, and I insert my user and cred I get always the same error:

<?xml version="1.0" encoding="utf-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Header/>

<SOAP-ENV:Body>

<SOAP-ENV:Fault>

<faultcode>SOAP-ENV:Server</faultcode>

<faultstring>Fault string, and possibly fault code, not set</faultstring>

</SOAP-ENV:Fault>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

I tried every possible combination of user and cred ("juddi" + "juddi",    "juddi" + "";    "juddi" + "123456";    "jdoe" + "",    ecc.), but everytime I got this SOAP response. To configure jUDDI I followed the official document
http://svn.apache.org/viewvc/webservices/juddi/trunk/docs/Getting-Started.pdf?revision=547750
so my configuration file are exactly like specified in the document.

Googling I read about changing the JDK version. I tried JDK 5 update 10, JDK 5 update 16, JDK + JEE 5 update 10, but nothing changed, and besides with this versions I can't run Synapse. Now with JDK + JEE 6 update 10, I can run Synapse but I'm still blocked with jUDDI.Someone can help me?

Thanks

Pasquale

 

 

 

 

 




------=_Part_21492_30211214.1228396383360--