[omniORB] Java Client connect omniORB server through tunnel

Duncan Grisby duncan at grisby.org
Fri Sep 24 12:51:10 BST 2004


On Wednesday 22 September, Shifeng ZHANG wrote:

> I have an omniORB CORBA server,S,running inside the firewall; I want
> a java client outside the firewall to call the omniORB server S. I
> used ssh tunneling to redirect
> 1). the naming service: local:2809 to remotehost:2809
> 2). the omniORB CORBA server S: localhost:10001 to remotehost:10001,
> which 10001 is the port of omniORB CORBA server S in the remote
> host.
>
> It seemed the naming service contact has no problem (I use the
> -ORBInitRef NameService=corbaname::localhost:2809 to pass the
> parameters to orb init function, and the java client can locate the
> naming service in the remote host).  However I have no idea to let
> the java client call the omniORB CORBA server S in the remote host
> through ssh tunneling. I tried to generate an "false" IOR with
> locahost ip (127.0.0.1) and port 10001 and gives the "false" IOR to
> java client but it does not work.

In what way does it not work?  It should work.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list