2 Replies Latest reply on Jul 31, 2005 3:40 AM by anil.saldhana

    4.0.2 juddi error when using UDDIProxy.get_authToken()

    jaycap

      I cannot seem to authenticate when trying to add anything to juddi.

      I always receive the following error:

      The user ID and password pair passed in a get_authToken message is not known to the Operator Site or is not valid.

      I tried:

      user = juddi
      pw = password

      and

      user = sa
      pw = ""

      because that's the entries I found in the juddi properties files and the sa login for JBoss Hypersonic DB. I can create table entries manually via JBoss's JMX console, but not via the UDDIBrowser or via UDDI4J code examples. I can read just fine with UDDIProxy.find_business(), but that's it.

      Any ideas???? Thanks a lot.

      jay

        • 1. Re: 4.0.2 juddi error when using UDDIProxy.get_authToken()
          jaycap

          All I had to do was create the user in the Publisher table...

          I used the HSQL_Database_Manager to do execute the following statement:

          INSERT INTO PUBLISHER (PUBLISHER_ID,PUBLISHER_NAME,EMAIL_ADDRESS,IS_ENABLED,IS_ADMIN) VALUES ('juddi','juddi','juddi@xxx','true','true');

          I doubled checked to be sure the juddi.properties file had the user=juddi ,
          and I can now update JUDDI running ontop of JBoss 4.0.2 from both UDDI4J and UDDIBrowser.

          • 2. Re: 4.0.2 juddi error when using UDDIProxy.get_authToken()
            anil.saldhana

            There are ddl scripts in the juddi-service.sar/META-INF directory that has data being populated into the DB when JBoss starts. So you should try to add users/delete users etc from these ddl files.

            Apart from this, please read the wiki pages for JUDDI configuration.