[omniORB] Cannot connect to omniNames with MICO client

Duncan Grisby duncan@grisby.org
Wed Dec 4 18:34:01 2002


On Wednesday 4 December, p.klotz@icoserve.com wrote:

> I tried to contact the omniORB Naming Service via a MICO client but the
> only thing I get is a CORBA::ORB::InvalidName exception in the client's
> resolve_initial_references() call.

Others have mentioned that you should use the -ORBInitRef argument to
the MICO client to specify the naming service location. I have another
comment...

> The omniNames command line is
> ./omniNames -ORBendPoint giop:tcp:perseus:8888 -ORBmaxGIOPVersion 1.0
> -ORBtraceLevel 40

You should not use the -ORBendPoint option to omniNames unless you are
doing something special. The first time you run omniNames you should
use the -start argument, either on its own if you want to use the
default port of 2809, or with a port number for a different port. The
way you are running it will cause it to listen on two different ports.

Cheers,

Duncan.

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