Then i don't know. I had similar problem before, but  i solve it by using 
tomcat 5.5, J2SE development kit 5 update 12, and MySQL for database. 
go to the following link and try following its direction, that is what i did. i 
skip the Eclipse part.
Good luck




On Mon, 23 Jul 2007 15:57:28 -0300  [email protected] wrote:


Yes, is everything alright with the database and the juddi.

On 7/23/07, BO CHEN WU <[EMAIL PROTECTED]> wrote:
did you install mySQL for the database?



On Mon, 23 Jul 2007 12:51:52 -0300  [email protected] wrote:


Thanks for replying, but my tomcat is : apache-tomcat-5.5.23, 
is there any problem? Thanks!
On 7/23/07, BO CHEN WU

 <[EMAIL PROTECTED]>
wrote:make sure you have the right version of tomcat,
juddi doesn't work for
tomcat 6. 



On Mon, 23 Jul 2007 11:25:53 -0300  [email protected] wrote:


Hello! Can Anyone help me?
I'm having a trouble wjile running
SaveBusinessExample, my juddihappy.jsp has no error an my configuration files
are the following:

samples.prop

-------------------------------------------------------------------------------------------------
inquiryURL =

http://localhost:8080/juddi/inquiry
publishURL =
http://localhost:8080/juddi/publish
userid =juddi    
password =juddi
TransportClassName=org.uddi4j.transport.ApacheAxisTransport
logEnabled=true
handlerPackageName=com.sun.net.ssl.internal.www.protocol



securityClassName=com.sun.net.ssl.internal.ssl.Provider
businessName=Sample Business
serviceName=Sample Service
tmodelName=Sample TModel
sampleEntityName=S
assertionRelationship=peer-peer
---------------------------------------------------------------------------------------------


juddi-users.xml
--------------------------------------------------------------------------------------------
<?xml version=&quot;1.0&quot;
encoding=&quot;UTF-8&quot;?>

<juddi-users>  
  <user userid=&quot;juddi&quot;
password=&quot;juddi&quot; />
</juddi-users>
-------------------------------------------------------------------------------------------


juddi.properties
-------------------------------------------------------------------------------------------
juddi.operatorName = jUDDI.org
juddi.i18n.languageCode
= pt

juddi.i18n.countryCode = BR
juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp?


juddi.operatorEmailAddress = [EMAIL PROTECTED]

juddi.maxNameLength=255
juddi.maxNameElementsAllowed=5
juddi.maxBusinessEntitiesPerUser=25
juddi.maxBusinessServicesPerBusiness=20
juddi.maxBindingTemplatesPerService=10
juddi.maxTModelsPerUser=100



juddi.maxRowsLimit=10
juddi.auth =
org.apache.juddi.auth.DefaultAuthenticator
juddi.dataStore =
org.apache.juddi.datastore.jdbc.JDBCDataStore
juddi.dataSource=java:comp/env/jdbc/juddiDB
juddi.uuidgen =
org.apache.juddi.uuidgen.DefaultUUIDGen

juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
juddi.validator=org.apache.juddi.validator.DefaultValidator
juddi.proxy.adminURL = 

http://localhost:8080/juddi/admin

juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
juddi.proxy.publishURL = 

http://localhost:8080/juddi/publish

juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol


-----------------------------------------------------------------------------------------------------


and the exception I'm getting is:

*********** Running
SaveBusinessExample ***********
Configuration properties set:
{org.uddi4j.TransportClassName=org.uddi4j.transport.ApacheAxisTransport,
org.uddi4j.logEnabled=true
}

Get authtoken

Request message:
<uddiv2:get_authToken cred=&quot;&quot; generic=&quot;2.0&quot;
userID=&quot;juddi &quot; xmlns:uddiv2=&quot;urn:uddi-org:api_v2&quot;/>

Response message:

<authToken generic=&quot;2.0&quot; operator=&quot;jUDDI.org&quot;
xmlns=&quot;&quot;><authInfo>authToken:14D63220-3924-11DC-A525-A4B741105F6B</authInfo></authToken>
java.lang.NullPointerException

        at
org.uddi4j.UDDIException.isValidElement(UDDIException.java:111)
        at
org.uddi4j.UDDIElement.<init>(UDDIElement.java:38)
        at
org.uddi4j.response.AuthToken.<init>(AuthToken.java
:85)
        at
org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1626)
        at
org.SaveBusinessExample.run(SaveBusinessExample.java:54)
        at
org.SaveBusinessExample.main(SaveBusinessExample.java:34)


Thanks!





Thank You For Your Time.











Bo Chen Wu

Computer Engineering & Mathematic

Pennsylvania State University

[EMAIL PROTECTED]





















(646)-861-9905









Thank You For Your Time.











Bo Chen Wu

Computer Engineering & Mathematic

Pennsylvania State University

[EMAIL PROTECTED]











(646)-861-9905








Thank You For Your Time.











Bo Chen Wu

Computer Engineering & Mathematic

Pennsylvania State University

[EMAIL PROTECTED]

(646)-861-9905

Reply via email to