« Return to Thread: Publish Problems

Re: Publish Problems

by avinh :: Rate this Message:

Reply to Author | View in Thread

If the field is not in the juddi database for access, then you'll need to see what the publishing code in Eclipse is trying to do - sounds like incompatible segments of code to me, i.e. the Eclipse query is asking for the "LAST_NAME" field that does not exist in juddi's DB table.

Did you run the insert_publishers.sql file? You have to insert a user that tells juddi that that user is allowed to insert into its DB (i.e. do publishing). The sample insertion query looks like the following for user "jdoe":

-- *** SAMPLE PUBLISHER ***
INSERT INTO PUBLISHER (PUBLISHER_ID,PUBLISHER_NAME,EMAIL_ADDRESS,IS_ENABLED,IS_ADMIN)
VALUES ('jdoe','John Doe','john.doe@...','true','true');

Once that user is inserted into the juddi DB, then you can use that user to publish your service.

Alan

TriggerHappy wrote:
To give some further information, the log file specifies:
2007-02-07 13:10:49,595 [http-1515-Processor25] ERROR
org.juddi.datastore.jdbc.PublisherTable - Unknown column 'LAST_NAME' in
'field list'
2007-02-07 13:10:49,625 [http-1515-Processor25] ERROR
org.juddi.function.GetAuthTokenFunction - RegistryException: Unknown column
'LAST_NAME' in 'field list' SOAPFault Actor: null SOAPFault Code: null
SOAPFault String: Unknown column 'LAST_NAME' in 'field list'  [A
DispositionReport was not present]

As detailed in the log, the LAST_NAME field does not exist in the DB.
However, it does not appear in the create_database.sql

Any ideas?




TriggerHappy wrote:
  
I am having problems publishing to jUDDI through Eclipse's (v 3.2.1) Web
Service Explorer.  Both Axis and jUDDI are 'happy'. The jUDDI installation
path in Tomcat is http://localhost:1515/juddi/.  The following settings
are used to publish:

Publish URL: http://localhost:1515/juddi/publish
User: juddi
Password: juddi (this can be used to connect to the MySQL DB)

When Eclipse tries to publish, the following error message is returned:
IWAB0135E An unexpected error has occurred.
UDDIException
java.lang.NullPointerException

I would appreciate any help on this matter.
Thanks, William


    

  

 « Return to Thread: Publish Problems