I'm running into a problem installing SOAP. I installed and tested and
got a message telling me I have a broken pipe.
The debug out of TcpTunnelGui tells me
"HTTP Status 302 - Moved Temporarily"
Any help?
I'm running Linux RedHat 7.0
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)
Tomcat/4.0-b5
The latest SOAP 2.2 and associated jars
Javamail 1.2
jaf 1.0.1
rhino 1.5R2
xerces 1.3.1
I set the CLASSPATH to all the above and modified tomcat to look for
xerces first (see CLASSPATH for tomcat - the others are the same)
Here is the result of running TcpTunnelGui
===== tomcat setup
moved soap.war to [tomcat]/webapps
[ggf@eeyore soap]$ echo $CLASSPATH
/usr/ggf/xml/xerces-1_3_1/xerces.jar:/usr/ggf/hold/soap/lib/soap.jar:/usr/ggf/hold/soap/lib/mail.jar:/usr/ggf/hold/soap/lib/activation.jar:/usr/ggf/hold/soap/lib/bsf.jar:/usr/ggf/hold/soap/lib/js.jar:/usr/ggf/hold/soap/lib/pop3.jar:/usr/ggf/hold/soap/lib/smtp.jar:/usr/ggf/hold/soap/lib/xmisoap.jar
[ggf@eeyore bin]$ ./startup.sh
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLASSPATH:
/usr/ggf/xml/xerces-1_3_1/xerces.jar:./../bin/bootstrap.jar:/usr/java/jdk1.3/lib/tools.jar
Using CATALINA_HOME: ./..
===== client
java org.apache.soap.server.ServiceManagerClient
http://localhost:4040/soap/admin/ list
===== TcpTunnelGui and results
[ggf@eeyore soap]$ java org.apache.soap.util.net.TcpTunnelGui 4040
localhost 8080
-----
POST /soap/admin/ HTTP/1.0
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: 414
SOAPAction: ""
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:list xmlns:ns1="urn:xml-soap-service-management-service"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
</ns1:list>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
=====================
HTTP/1.0 302 Moved Temporarily
Content-Type: text/html; charset=UTF-8
Date: Wed, 19 Sep 2001 17:50:35 GMT
Location: http://localhost:8080/soap/admin/index.html
Server: Apache Tomcat/4.0-b5 (HTTP/1.1 Connector)
Connection: close
<html>
<head>
<title>Tomcat Error Report</title>
</head>
<body bgcolor="white">
<br><br>
<h1>HTTP Status 302 - Moved Temporarily</h1>
The requested resource (Moved Temporarily) has moved temporarily to a
new location.
</body>
</html>
=====
Thanks,
Gary