Title: 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