You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Desiree Hilbring <De...@iitb.fraunhofer.de> on 2005/10/13 17:16:08 UTC

Problem with running uddi4j examples

Hi everybody,

I am newbie using jUDDI and have already installed:

- tomcat.5.5.9
- axis 1.2.1
- MySQL
- jUDDI-0.9rc4

the axis and jUDDI happyness pages are both happy.

An now I am trying to run the FindBusinessExample from uddi4j and get
the following error:

*********** Running FindBusinessExample ***********
TransportFactory: Using transport
name:org.uddi4j.transport.ApacheAxisTransport
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectR
esourceBundle).
log4j:WARN Please initialize the log4j system properly.

Request message:
<ns1:find_business generic="2.0" maxRows="5" xmlns="urn:uddi-org:api_v2"
xmlns:n
s1="urn:uddi-org:api_v2"><ns1:findQualifiers><ns1:findQualifier>caseSens
itiveMat
ch</ns1:findQualifier></ns1:findQualifiers><ns1:name>S</ns1:name></ns1:f
ind_busi
ness>

Response message:
<soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.generalExceptio
n</faultcode>
   <faultstring/>
   <faultactor/>
   <detail/>
  </soapenv:Fault>

        at org.uddi4j.UDDIElement.<init>(UDDIElement.java:38)
        at org.uddi4j.response.BusinessList.<init>(BusinessList.java:84)
        at org.uddi4j.client.UDDIProxy.find_business(UDDIProxy.java:475)
        at FindBusinessExample.run(FindBusinessExample.java:80)
        at FindBusinessExample.main(FindBusinessExample.java:44)

The samples.prop looks the following:

# Property file used to set parameters for UDDI4J samples.

#
-----------------------------------------------------------------------
# inquiryURL: The URL for the inquiry API of the target UDDI registry
# publishURL: URL for the publish API of the target UDDI registry
# A list of UDDI URLs is on the UDDI4J website http://www.uddi4j.org/
# 
# A typical entry would be of the form
# inquiryURL=http://company.com/uddi_node
# publishURL=https://company.com/uddi_publish_node
#
-----------------------------------------------------------------------
# IBM UDDI test site
inquiryURL=http://localhost:8082/juddi/inquiry
publishURL=http://localhost:8082/juddi/publish

#
-----------------------------------------------------------------------
# Userid to use when running the publish samples. Userid/passwords
should
# not generally be stored in clear text
#
-----------------------------------------------------------------------
userid = juddi	
password = juddi

#
-----------------------------------------------------------------------
# Transport classname. Typically defined on commandline as 
# -Dorg.uddi4j.TransportClassName=xxx.
#
-----------------------------------------------------------------------
#TransportClassName=org.uddi4j.transport.ApacheSOAPTransport
TransportClassName=org.uddi4j.transport.ApacheAxisTransport
# TransportClassName=org.uddi4j.transport.HPSOAPTransport

#
-----------------------------------------------------------------------
# Debug log enabled or not. Typically defined on command line as
-Dorg.uddi4j.logEnabled=true
#
-----------------------------------------------------------------------
#logEnabled=false
 logEnabled=true

#
-----------------------------------------------------------------------
# Values used to determine the implementation of JSSE to use. Provided
# for convenience, this is typically configured within the jdk
# in JAVA_HOME\jre\lib\security
#
-----------------------------------------------------------------------
# Sun JSSE implementation
handlerPackageName=com.sun.net.ssl.internal.www.protocol
securityClassName=com.sun.net.ssl.internal.ssl.Provider

# IBM JSSE implementation
# handlerPackageName=com.ibm.net.ssl.internal.www.protocol
# securityClassName=com.ibm.jsse.JSSEProvider

#
-----------------------------------------------------------------------
# UDDI names to use within samples. Samples may or maynot use these
values,
# Check the source for the sample
#
-----------------------------------------------------------------------
businessName=Sample Business
serviceName=Sample Service
tmodelName=Sample TModel
sampleEntityName=S
assertionRelationship=peer-peer

#
-----------------------------------------------------------------------
# Additional values can be added as needed as a convenient repository
# for data relevant to the UDDI4J samples
#
-----------------------------------------------------------------------

Any idea? Thanks for your help in advance.