You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Gary Frederick <ga...@jsoft.com> on 2001/09/19 20:44:44 UTC

I broke my pipe...

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



Re: I broke my pipe...

Posted by Laurent <do...@free.fr>.
Sounds like a Tomcat bug.

Try Tomcat 4.0 Final (it's out). Also switch to jdk1.3.1+, we had nasty 
bugs running 1.3.0 + Soap2.2 on our RH host.

Laurent


Re: I broke my pipe...

Posted by Laurent <do...@free.fr>.
Sounds like a Tomcat bug.

Try Tomcat 4.0 Final (it's out). Also switch to jdk1.3.1+, we had nasty 
bugs running 1.3.0 + Soap2.2 on our RH host.

Laurent


Re: I broke my pipe...

Posted by Gary Frederick <ga...@jsoft.com>.
I just tried xerces 1.4.3. I got the same results (broke pipe) :-(

Gary


On Wed, 2001-09-19 at 13:50, R. Blaine Mincey wrote:
> Try a different version of xerces.  I think there were some problems with the 
> version you are using.
> 
> Blaine Mincey
> blaine_mincey@mindspring.com
> 
> On Wednesday 19 September 2001 14:44, you wrote:
> > 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/g
> >gf/hold/soap/lib/mail.jar:/usr/ggf/hold/soap/lib/activation.jar:/usr/ggf/hol
> >d/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



Re: I broke my pipe...

Posted by Gary Frederick <ga...@jsoft.com>.
I just tried xerces 1.4.3. I got the same results (broke pipe) :-(

Gary


On Wed, 2001-09-19 at 13:50, R. Blaine Mincey wrote:
> Try a different version of xerces.  I think there were some problems with the 
> version you are using.
> 
> Blaine Mincey
> blaine_mincey@mindspring.com
> 
> On Wednesday 19 September 2001 14:44, you wrote:
> > 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/g
> >gf/hold/soap/lib/mail.jar:/usr/ggf/hold/soap/lib/activation.jar:/usr/ggf/hol
> >d/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



Re: I broke my pipe...

Posted by "R. Blaine Mincey" <bl...@mindspring.com>.
Try a different version of xerces.  I think there were some problems with the 
version you are using.

Blaine Mincey
blaine_mincey@mindspring.com

On Wednesday 19 September 2001 14:44, you wrote:
> 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/g
>gf/hold/soap/lib/mail.jar:/usr/ggf/hold/soap/lib/activation.jar:/usr/ggf/hol
>d/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

Re: I broke my pipe...

Posted by "R. Blaine Mincey" <bl...@mindspring.com>.
Try a different version of xerces.  I think there were some problems with the 
version you are using.

Blaine Mincey
blaine_mincey@mindspring.com

On Wednesday 19 September 2001 14:44, you wrote:
> 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/g
>gf/hold/soap/lib/mail.jar:/usr/ggf/hold/soap/lib/activation.jar:/usr/ggf/hol
>d/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