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 Bruce Becker <br...@ihsd.com> on 2001/04/18 23:15:58 UTC
Soap 2-1 Setup questions
Hello,
> I am trying to run the sample addressbook application using a Tomcat 3.2.1
> and Apache's SOAP 2-1.
>
> I am confused by the invocation of the samples. The 'testit.cmd' says to
> use the following syntax:
>
> java samples.addressbook.GetAddress
> http://localhost:8080/soap/servlet/rpcrouter "John B. Good"
>
>
> In the previous version of Soap (1.x) , the samples were invoked as
> follows:
>
> java samples.addressbook.GetAddress
> http://localhost:8080/soap/rpcrouter.jsp "John B. Good"
>
> In the second example, the rpcrouter.jsp is referenced. This file was
> indeed distributed with the Soap 1.x distribution. In the case of the
> Soap 2-1 distribution, there is not a rpcrouter.jsp, but we are not
> invoking it either. In the Soap 2-1 case, is the rpcrouter (without the
> .jsp) suppose to be a class, or an automatic default to rpcrouter.jsp ?
> In either case, I don't have any type of rpcrouter.* in my soap_2-1
> distribution.
>
> So, when I try to start it , the following errors are reported:
>
> C:\devProjects\soap-2_1>java samples.addressbook.GetAddress
> http://localhost:8080/soap/rpcrouter "John B. Good"
> java.net.SocketException: Connection aborted by peer: JVM_recv in socket
> input s
> tream read
> at java.net.SocketInputStream.socketRead(Native Method)
> at java.net.SocketInputStream.read(Unknown Source)
> at java.io.BufferedInputStream.fill(Unknown Source)
> at java.io.BufferedInputStream.read(Unknown Source)
> at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:215)
> at
> org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
> tion.java:208)
> at org.apache.soap.rpc.Call.invoke(Call.java:203)
> at samples.addressbook.GetAddress.main(GetAddress.java:125)
> Caught SOAPException (SOAP-ENV:Client): Connection aborted by peer:
> JVM_recv in
> socket input stream read
>
> I have a context set up on the server to map 'soap' to :
>
> <Context path="/soap"
> docBase="C:\devProjects\soap-2_1/webapps/soap/admin"
> debug="1" reloadable="true" >
> </Context>
>
> Any words of advice or encouragement would be appreciated ! (preferably
> advice ;-)
>
> Bruce
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org