[omniORB] RE: NameService ObjectKey Resolving Problem

JHJE (Jan Holst Jensen) jhje at novonordisk.com
Thu Jan 6 14:35:13 GMT 2005


> Date: Wed, 5 Jan 2005 22:06:07 -0500
> From: Pedro Ribeiro <pedroribeirojr at gmail.com>
> Subject: [omniORB] NameService ObjectKey Resolving Problem
[...]
> I am almost running the example and I am stuck in a 
> OBJECT_NOT_EXIST exception thrown by eg3_impl.
> 
> I know the problem is in the configuration 
> of  InitRef and I already tried 
> NameService=corbaname:iiop:localhost/RootPOA
> NameService=corbaname:iiop:localhost/NameService
> NameService=corbaname:iiop:localhost/root/text/Echo
> 
> 
> ( in the case using the sample.reg with the "0"=" before 
> these values) Seems to me that I am not having problems with 
> port and localhost but with the objectkey of corbaname string...
> 
> What exactly should I put in the object key ? If that is the 
> problem ..

Your configuration file should simply read

   InitRef = NameService=corbaname::localhost

Using "corbaname" you have already implied that you want to contact a
naming service through IIOP on the default port.

Cheers

-- Jan Holst Jensen, Novo Nordisk, Denmark



More information about the omniORB-list mailing list