Title: How to use TcpTunnelGui
Perhaps there is something else running on port 80...maybe another web server?  Try to use a port number less likely to already be in use, like, maybe 12121, or something like that.
 
Pete
-----Original Message-----
From: Yong Miao [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 1:29 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: How to use TcpTunnelGui

Phillip,

 

No matter what order I use I always get same error.

java org.apache.soap.util.TcpTunnelGui 80 http://localhost 8080

java org.apache.soap.util.TcpTunnelGui 8080 http://localhost 80

 

If I shutdown tomcat it works. I have no idea what's going on.

Yong

-----Original Message-----
From: Phillip Urrea [mailto:[EMAIL PROTECTED]]
Sent:
Thursday, May 16, 2002 8:52 AM
To: '
[EMAIL PROTECTED]'
Subject: RE: How to use TcpTunnelGui

 

You should run

 

java org.apache.soap.util.TcpTunnelGui 80 http://localhost 8080

 

and then tell your soap client to bind to port 80. The first figure is the port that you want the tcp tunnel to listen to and the second figure is the port that you wish to forward the request on to.

 

So if tomcat is on 8080 the second figure should always be 8080 and the first figure should be the port you want your client to connect to.

 

Phill.

 

 

-----Original Message-----
From: Yong Miao [mailto:[EMAIL PROTECTED]]
Sent: 16 May 2002 16:43
To: [EMAIL PROTECTED]
Subject: How to use TcpTunnelGui

Hi,

Could you please tell me how to use the TcpTunnelGui enclosed in soap.jar?

I want to see the message passing to tomcat/soap server.

I am running Tocam with port 8080. When I try to run:

java org.apache/soap/util/net/TcpTunnelGui 8080 http://localhost 80

I got error:

java.net.BindException: Address already in use: JVM_Bind

        at java.net.PlainSocketImpl.socketBind(Native Method)

        at java.net.PlainSocketImpl.bind(Unknown Source)

        at java.net.ServerSocket.bind(Unknown Source)

        at java.net.ServerSocket.bind(Unknown Source)

        at java.net.ServerSocket.<init>(Unknown Source)

        at java.net.ServerSocket.<init>(Unknown Source)

        at org.apache.soap.util.net.TcpTunnelGui$3.run(TcpTunnelGui.java:185)

How can I use the tool to see the message?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Yong Miao

[EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to