You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by "Meloro, John" <Me...@Pragmatics.com> on 2004/03/25 21:47:06 UTC

I found something! (I think) Was AuthToken not being returned

Steve,
 
I found this SQL buried in the log file:
 
SELECT PUBLISHER_NAME, LAST_NAME, FIRST_NAME, MIDDLE_INIT, WORK_PHONE,
MOBILE_PHONE, PAGER, EMAIL_ADDRESS, ADMIN, ENABLED 
FROM PUBLISHER WHERE PUBLISHER_ID=juddi

Are LAST_NAME, FIRST_NAME, MIDDLE_INIT, WORK_PHONE, MOBILE_PHONE, PAGER,
EMAIL_ADDRESS and ADMIN all supposed to be in the database table
publisher????
 
That was not documented in the mySQL init page!
 
This could be the problem because my publisher table only has publisher_id,
publisher_name, admin!
 
What do you think?
 
John M. 
 

-----Original Message-----
From: Viens, Steve [mailto:Stephen.Viens@FMR.COM]
Sent: Thursday, March 25, 2004 3:24 PM
To: Meloro, John
Subject: RE: Auth Token not being returned


Is there any information in the log file?

-----Original Message-----
From: Meloro, John [mailto:MeloroJ@Pragmatics.com] 
Sent: Thursday, March 25, 2004 3:10 PM
To: 'juddi-user@ws.apache.org'
Cc: Viens, Steve
Subject: RE: Auth Token not being returned


Steve, 
 
I am still using the 0.8.0 version.
 
I also tested and the database name is case insensitive.
 
I am lost...

-----Original Message-----
From: Viens, Steve [mailto:Stephen.Viens@FMR.COM]
Sent: Thursday, March 25, 2004 2:43 PM
To: juddi-user@ws.apache.org
Subject: RE: Auth Token not being returned


The publisher table must be in the jUDDI database.  When you run
happyjuddi.jsp do you get back:
 
+ SELECT COUNT(*) FROM PUBLISHER = 1

?
 
You are using 0.8.0 correct?  Or did you pull the latest source from CVS?
 
Steve

-----Original Message-----
From: Meloro, John [mailto:MeloroJ@Pragmatics.com] 
Sent: Thursday, March 25, 2004 2:29 PM
To: Viens, Steve
Cc: 'juddi-user@ws.apache.org'
Subject: RE: Auth Token not being returned


Steve,
 
I usually Cc the juddi-users-list.  I guess the last one just slipped by.
Sorry about that...I will be more careful in the future.
 
In any event, I've listed below the instruction that is actually calling the
get_authToken method:
 
AuthToken token = proxy.get_authToken( "juddi", "password" );
 

mysql> use juddi;
Database changed
mysql> select * from publisher;
+-----------------+------------------------+---------+
| publisher_id | publisher_name | admin |
+-----------------+------------------------+---------+
| juddi           | Juddi User         | false   |
+-----------------+------------------------+---------+
1 row in set (0.00 sec)
 
My publisher table has only one entry in it and it looks like I am sending
in the same id.
 
I do have a question in that the publisher table is stored in the juddi
database.  Does the publisher table need to be somewhere else? Maybe?
 
Thanks,
John M.

-----Original Message-----
From: Viens, Steve [mailto:Stephen.Viens@FMR.COM]
Sent: Thursday, March 25, 2004 2:17 PM
To: Meloro, John; Ilias Stergiou
Subject: RE: Auth Token not being returned


John, you should direct these messages to the juddi-user list so that others
may be able to jump in and help you ... since they are also added to the
archives others may benefit from the answers posted later.
 
You should have an entry in the publisher table and the publisher_id should
be the same value you supply to the get_authToken method. If you're using
the default installation then the password value supplied is ignored.
 
Steve

-----Original Message-----
From: Meloro, John [mailto:MeloroJ@Pragmatics.com] 
Sent: Thursday, March 25, 2004 2:00 PM
To: Viens, Steve; 'Ilias Stergiou'
Subject: Auth Token not being returned


Steve, Ilias,
 
Thank you for all the help that you have given me so far.
 
Unfortunately, I am still struggling with 'publishing' to my jUDDI Registry.
The current problem is that I am not receiving an authorization token back
from jUDDI when I attempt to publish.
 
I have looked into the mail archives and the only mention I see of what
could cause this problem is that there is not an entry in the publisher
table.  I did create a publisher table in my juddi database and have
populated it with the following information:
 
mysql> use juddi;
Database changed
mysql> select * from publisher;
+--------------+---------------------------+---------+
| publisher_id | publisher_name | admin |
+--------------+---------------------------+---------+
| juddi        | Juddi User            | false   |
+--------------+---------------------------+---------+
1 row in set (0.00 sec)
 
So, I am at a loss as to what to do or what else could cause this problem?
 
Any help would be greatly appreciated.
 
Thanks,
John M.