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/19 15:08:34 UTC
Problems Running samples (Me too)
Hello,
I am trying to run the sample addressbook application using a Tomcat 3.2.1
and Apache's SOAP 2-1, Xerces 1_3_1. I have the 'deploy' set up, but can't
get the a sample to work. (addressbook)
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 stream 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>
Classpath on startup of tomcat:
c:\devprojects\xerces-1_3_1\xerces.jar;;C:\devProjects\tomcat\classes;C:\dev
Projects\tomcat\lib\ant.jar;C:\devProjects\tomcat\lib\jaxp.jar;C:\devProject
s\tomcat\lib\servlet.jar;C:\devProjects\tomcat\lib\parser.jar;C:\devProjects
\tomcat\lib\webserver.jar;C:\devProjects\tomcat\lib\jasper.jar;.;c:\devproje
cts\wstk-2.2\lib;C:\jdk1.3\lib\tools.jar;c:\devprojects\soap-2_1\lib\soap.ja
r;c:\devprojects\javamail-1.2\mail.jar;c:\devprojects\jaf-1.0.1\activation.j
ar;c:\devprojects\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.
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
RE: Problems Running samples (Me too)
Posted by Kamlesh Lal NE <ka...@changepond.com>.
try Xerces 1.3.0
-----Original Message-----
From: Bruce Becker [mailto:bruce.becker@ihsd.com]
Sent: Thursday, April 19, 2001 8:09 AM
To: 'soap-user@xml.apache.org'
Subject: Problems Running samples (Me too)
Hello,
I am trying to run the sample addressbook application using a Tomcat 3.2.1
and Apache's SOAP 2-1, Xerces 1_3_1. I have the 'deploy' set up, but can't
get the a sample to work. (addressbook)
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 stream 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>
Classpath on startup of tomcat:
c:\devprojects\xerces-1_3_1\xerces.jar;;C:\devProjects\tomcat\classes;C:\dev
Projects\tomcat\lib\ant.jar;C:\devProjects\tomcat\lib\jaxp.jar;C:\devProject
s\tomcat\lib\servlet.jar;C:\devProjects\tomcat\lib\parser.jar;C:\devProjects
\tomcat\lib\webserver.jar;C:\devProjects\tomcat\lib\jasper.jar;.;c:\devproje
cts\wstk-2.2\lib;C:\jdk1.3\lib\tools.jar;c:\devprojects\soap-2_1\lib\soap.ja
r;c:\devprojects\javamail-1.2\mail.jar;c:\devprojects\jaf-1.0.1\activation.j
ar;c:\devprojects\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.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
RE: Problems Running samples (Me too)
Posted by Kamlesh Lal NE <ka...@changepond.com>.
try Xerces 1.3.0
-----Original Message-----
From: Bruce Becker [mailto:bruce.becker@ihsd.com]
Sent: Thursday, April 19, 2001 8:09 AM
To: 'soap-user@xml.apache.org'
Subject: Problems Running samples (Me too)
Hello,
I am trying to run the sample addressbook application using a Tomcat 3.2.1
and Apache's SOAP 2-1, Xerces 1_3_1. I have the 'deploy' set up, but can't
get the a sample to work. (addressbook)
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 stream 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>
Classpath on startup of tomcat:
c:\devprojects\xerces-1_3_1\xerces.jar;;C:\devProjects\tomcat\classes;C:\dev
Projects\tomcat\lib\ant.jar;C:\devProjects\tomcat\lib\jaxp.jar;C:\devProject
s\tomcat\lib\servlet.jar;C:\devProjects\tomcat\lib\parser.jar;C:\devProjects
\tomcat\lib\webserver.jar;C:\devProjects\tomcat\lib\jasper.jar;.;c:\devproje
cts\wstk-2.2\lib;C:\jdk1.3\lib\tools.jar;c:\devprojects\soap-2_1\lib\soap.ja
r;c:\devprojects\javamail-1.2\mail.jar;c:\devprojects\jaf-1.0.1\activation.j
ar;c:\devprojects\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.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org