[omniORB] Help need!!!

Duncan Grisby duncan@grisby.org
Mon Oct 28 13:08:01 2002


On Monday 21 October, "Ashraf Moosa" wrote:

> I have managed to compile omniorb as well as all the echo examples.
> I have also managed to get example1 and example 2 to work perfectly, However
> when I try to run eg3_imp.cc The server exits with
> an error.

[...]
> omniORB:   endPoint = giop:tcp:196.25.71.78:2809

You have set the end point in the configuration file / registry to use
port 2809 for _all_ servers. The operating system shouldn't let the
eg3 server start on that port, since omniNames is already using it
(assuming omniNames is correctly running), but it permits it for some
reason. However, when you come to use the naming service, it thinks
the naming context object is in its process, so it fails. Remove the
setting of endPoint, and it will work fine.

Cheers,

Duncan.

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