hi miguel I have got the same problem with get_AuthToken. I am using mysql 5.0.22 shall i install mysql 4.0.
If you have any other idea how to authenticate juddi from juddi console using get_AuthToken please help me. thanks in advance Miguel Ferreira wrote: > > Hi, > > (The silence in this mailing list is very disturbing...) > Anyway... I solved my problem... I'm posting the solution here since it > might be helpful for others... > > I've used a sniffer to find out what was happening under the hood and > realised that the problem was on the MySQL Server. When the token was > requested (and inserted in the database) it threw an exception and the > operation was rolled back. Ubuntu's MySQL 4.1 is probably faulty. I've > downgraded to 4.0 and is verything is working fine now. > > Cheers, > Miguel. > > -----Original Message----- > From: Leandro Cerencio [mailto:[EMAIL PROTECTED] > Sent: quarta-feira, 1 de Março de 2006 17:47 > To: [email protected] > Subject: Re: get_AuthToken not working at all! > > Dear Miguel, > > I had a same problem, but I solve with an other way. I create, in mysql, a > table contain the username and the password on juddi schema. So, I create > my > class using the interface Authenticator with classe JDBCDataStore on the > package org.apache.juddi.datastore.jdbc . And change property > "juddi.users=myclass". I hope this be useful. > > Tchau > > -- > +----------------------------------+ > | Leandro Moreira Cerencio | > | Dep. Architecture and Solution | > | SERPRO | > | Ramal: +055 02111 2173-1837 | > | [EMAIL PROTECTED] | > +----------------------------------+ > > > Miguel Ferreira escreveu: > >> Dear all, >> I've been struggling to get jUDDI version 0.9rc4 to work on my Ubunto >> box without success... >> In fact jUDDI installs cleanly. The problem is that I can't get a >> straight answer from the service when I call get_authToken. No matter >> which authentication mode I'm using I always get the following answer: >> E_unknownUser (10150) The user ID and password pair passed in a >> get_authToken message is not known to the Operator Site or is not >> valid. get_authToken: userID=mferreira >> I've tried the DefaultAuthenticator with a few publishers inserted on >> the publisher DB table. I 've also tried the XMLDocAuthenticator >> using juddi-users.xml as a data source (no, I did not forget to add >> the property juddi.users=... to juddi.properties). >> This is driving me nuts because the happy script tells me everything >> is ok, there are no errors on the log files and no one on the Internet >> seems to be having this problem... >> I've also tried to install jUDDI on another machine (Ubunto box as >> well) but the same behavior was experienced. >> I'm using jdk 1.5. Will that be the cause of the problem? >> I've tried to compile the jUDDI sources with that version of the JDK >> and had to change the name of some enum variables that are not >> supported by the new JDK. My juddi.jar delivers the same output. >> Any help on this guys? Has anyone been able the get the authToken >> using jUDDI 0.9rc4. >> PS: I'm also using Tomcat + MySQL >> >> Cheers, >> Miguel >> >> - - >> Miguel Ferreira (researcher) >> Department of Information Systems >> University of Minho Campus de Azurém >> 4800-058 Guimarães, Portugal >> http://www.dsi.uminho.pt/~ferreira/ >> <http://www.dsi.uminho.pt/%7Eferreira/> >> Phone: +351 253 510 261 / FAX: +351 253 510 300 / Ext.: 3261 >> > > > > -- View this message in context: http://www.nabble.com/get_AuthToken-not-working-at-all%21-tf1185877.html#a5448793 Sent from the jUDDI - User forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
