You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by David Cahill <dp...@gmail.com> on 2005/01/05 19:01:16 UTC

Internal server error when running UDDI4J samples

Hi, 

I'm trying to set up UDDI using jUDDI and UDDI4J.

To start with, I'm running the samples which come with UDDI4J, and I
get an error 500 - internal server error.

The username and password I'm using in the samples are in jUDDI's
juddi-users.xml, and a publisher with the same id exists in the
publishers table with enabled = true.

As far as I can see the problem is jUDDI, and yet the jUDDI happiness
page shows no problems.

Any help appreciated, for version info and other specifics see below.

Regards,
David.


My setup, with version information, is as follows:

Server:
jUDDI version 0.9rc3, Apache Tomcat 5.5.4 and Axis version 1.2 RC1

Client:
For the client, UDDI4J version 2.0.2.

The SOAP packets created by the examples seem OK to me:
soap packet sent:
---------------------------------------------------------------------
POST /juddi/inquiry HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.2RC1
Host: 127.0.0.1:8080
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 528

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:find_business
generic="2.0" maxRows="5" xmlns="urn:uddi-org:api_v2"
xmlns:ns1="urn:uddi-org:api_v2"><findQualifiers
xmlns="urn:uddi-org:api_v2"><findQualifier
xmlns="urn:uddi-org:api_v2">caseSensitiveMatch</findQualifier></findQualifiers><name
xmlns="urn:uddi-org:api_v2">S</name></ns1:find_business></soapenv:Body></soapenv:Envelope>
------------------------------------------------------------------------------

Message from juddi.log:

--------------------------------------------------------------------------------------------
2005-01-04 18:27:05,171 [http-2004-Processor25] ERROR
StandardWrapper[/juddi:jUDDIInquiryServlet] - Servlet.service() for
servlet jUDDIInquiryServlet threw exception
java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:396)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:385)
	at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:222)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:568)
	at org.apache.axis.Message.getSOAPEnvelope(Message.java:427)
	at org.apache.axis.Message.getContentType(Message.java:484)
	at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:683)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------------------