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