It's not necessary to run TCPTunnel at Linux, you can configure TCPTunnel in
this way, that it is connecting against your web Server.

That means you run your sources at your local PC also TCPTunnel which 
is connecting against your Linux WebServer.

Just make a File with the extension .cmd and copy the following String
inside.
Place the cmd File in the same directory where you can find your soap.jar

java -cp ./soap.jar  org.apache.soap.util.net.TcpTunnelGui 8080
targetServer:Port


Your javaClient has to connect to:
      URL url=new URL("http://localhost:8080/soap/servlet/rpcrouter";);

and then its running on NT.

-----Original Message-----
From: jyothi [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 14. August 2001 11:42
To: [EMAIL PROTECTED]
Subject: TcpTunnelGui in Apache SOAp.2


Hi,
             I configured Apache SOAP2.2 in Linux and i am using Tomcat 
as the web server. When i tried to run the TcpTunnelGui tool provided by 
apache soap i got the following exception. The TcpTunnnelGui worked fine 
in Windows but in Linux it is giving some problems. Can anyone help me 
out. I want this workig inorder to know what is passing across my client 
and server.

Xlib: cannot connect to the server < my ipaddress >
Xlib: Client is not authorised to connect to the server
Exception in thread "main" java.lang.InternalError: Cant connect to X11 
window
server using <ipaddress> as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at 
sun.swt.X11GraphicsEnvironment.<clinit><X11GraphicsEnvironment.java:58)
at java.lang.Class.forName()(Native Method)
at java.lang.Class.forName(Class.java:120)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron
mebt.java:58)
at java.awt.Window.<init>(Window.java:186)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:262)
at org.apache.soap.util.net.TcpTunnelGui.<init>(TcpTunnelGui.java:81)
at org.apache.soap.util.net.TcpTunnelGui.main(TcpTunnelGui.java:177)


Thanks,
Jyothi



---------------------------------------------------------------------
This message is intended for the addressee or its representative only. Any
form of unauthorized use, publication, reproduction, copying or disclosure
of the content of this e-mail is not permitted. If you are not the intended
recipient of this e-mail message and its contents, please notify the sender
immediately and delete this message and all its attachments subsequently.

Reply via email to