[omniORB] Running the echo examples between two machines

Oskar Audunsson oskara@hi.is
Fri Jun 28 10:45:02 2002


Hello everyone!

I've set up omniORB on two machines and the examples are working fine on both 
of them. However, when I trie to run it between the two I get:

"Caught system exception COMM_FAILURE -- unable to contact the naming service.
hello: The object reference is nil!"

On the server side I start the Naming Service on port 1200. 
If I do lsof -i :1200 I get

omniNames 18335 root    5u  IPv4 259455       TCP *:1200 (LISTEN)
omniNames 18336 root    5u  IPv4 259455       TCP *:1200 (LISTEN)
omniNames 18337 root    5u  IPv4 259455       TCP *:1200 (LISTEN)
omniNames 18338 root    5u  IPv4 259455       TCP *:1200 (LISTEN)
omniNames 18339 root    5u  IPv4 259455       TCP *:1200 (LISTEN)

so the nameservice seems to be up and listening.

In my omniORB.cfg file I have two lines (both on client and server machines):

ORBInitialHost <IP number of the server>
ORBInitialPort 1200

Then I do on the server:
./eg3_impl -ORBInitialHost <IP number of the server> -ORBInitialPort 1200

Then the Client:
./eg3_clt -ORBInitialHost <IP number of the server> -ORBinitialPort 1200

and then I get the error on the Client machine.

Does anyone have an idea what this could be?

Oskar Hafnfjord Audunsson