This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes JUDDI v3 UserMismatchException: An account must have administrative privileges to save publishers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JUDDI v3 UserMismatchException: An account must have administrative privileges to save publishers" Watch "JUDDI v3 UserMismatchException: An account must have administrative privileges to save publishers" New topic
Author

JUDDI v3 UserMismatchException: An account must have administrative privileges to save publishers

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 237
Hi All,
I have created the following client to save a Publisher into JUDDI register. Each time I run the code it throws an exception
at:- juddiApi.savePublisher(sp);
The error displayed:-
org.apache.juddi.v3.error.UserMismatchException: An account must have administrative privileges to save publishers

In the Juddi Admin, I have checked that the Publisher Id=root is an administrator and this is enabled.

The code is as follows:-


Can anybody help me with this problem

Mat



Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 237
Hi All,

In the Juddi Admin, I have checked that the Publisher Id=root is an administrator and this is enabled.
I have also checked the PUBLISHER table within the juddi database within MySQL, I currently have
root and marketing users as administrators (i.e. IS_ADMIN set to true and IS_ENABLED set to true)

Has anybody got passed publishing (i.e. juddiApi.savePublisher(sp); ) to the juddi register witjout getting an exception?

I'm stuck with this one, cant find any soultions or pointers to resolve this problem. Any help would be worth a on me.

Mat

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JUDDI v3 UserMismatchException: An account must have administrative privileges to save publishers