You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by sk...@cscploenzke.de on 2001/10/17 15:07:06 UTC

Soap 2.2 with WLS6.1SP1: Error building response envelope

Hi,

presumably I have a problem very similar to the one Tony Yip posted on Oct.
5th. I'm trying to run the weblogic_ejb example distributed with Apache
Soap 2.2 on WebLogic 6.1 SP 1. I've installed Soap, deployed the EJB and
Soap Service without any problems, but when I run ejbtest.class, I get the
error stack attached below. I have Xerces-1_4_3\xerces.jar first in my
CLASSPATH in startWebLogic.cmd and the following XMLRegistry Entry in my
config.xml:

    <XMLRegistry
        DocumentBuilderFactory
="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
        Name="Xerces JAXP" SAXParserFactory
="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
    <Server ListenPort="7001" Name="myserver" NativeIOEnabled="true"
        TransactionLogFilePrefix="config/myserver/logs/" XMLRegistry
="Xerces JAXP">

Since other folks here obviously have successfully integrated Apache Soap
2.2 with WLS61SP1, I'm not really willing to give up yet. Can anybody help
me? Are there any follow-ups to Tony Yip's posting that I have missed?

Thanks in advance,
Stefan.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
java.lang.NullPointerException
        at
weblogic.servlet.internal.ChunkOutput.clearBuffer(ChunkOutput.java:231)
        at
weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:251)
        at
weblogic.servlet.internal.ChunkOutputWrapper.flush(ChunkOutputWrapper.java:152)
        at
weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:119)
        at
org.apache.soap.transport.TransportMessage.writeTo(TransportMessage.java:462)
        at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:347)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
<17.10.2001 15:09:51 CEST> <Error> <HTTP>
<[WebAppServletContext(772675,soap,/soap)] Servlet failed with
ServletException
javax.servlet.ServletException: Error building response envelope:
java.lang.NullPointerException
        at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:353)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<