Hi philippe, Could you post your juddi.properties file
Lakshman -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 14 October 2005 1:22 AM To: [email protected] Subject: RE: Problem with running uddi4j examples Hi ! I have the exact same configuration. Unfortunately my juddi happinness page is NOT happy. I have the classical error you can find in every forum "- DB connection was not aquired. (null) - SELECT COUNT(*) FROM PUBLISHER failed (null)" Can you please let me know which procedure you followed to configure your app ? Thanks in advance ! Philippe > -----Message d'origine----- > De : Desiree Hilbring [mailto:[EMAIL PROTECTED] > Envoye : jeudi 13 octobre 2005 17:16 > A : [email protected] > Objet : 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:findQualifie > r>caseSens > itiveMat > ch</ns1:findQualifier></ns1:findQualifiers><ns1:name>S</ns1:na > me></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. >
