[omniORB] environment variables vs. config file

Duncan Grisby duncan at grisby.org
Thu Mar 26 16:53:56 GMT 2009


On Thursday 26 March, Aaron Cloyd wrote:

> I've tried sourcing this:
>   setenv ORBid omniORB4
>   setenv ORBInitRef NameService=corbaname::host:port/NameService
>   setenv ORBgiopMaxMsgSize 160000000
> 
> And I get this error:
>   CORBA::Exception Thrown: NO_RESOURCES
>   Unable to get Naming Service

That looks like csh. It works for me:

[duncan at home ~]$ nameclt list
Cannot resolve the root context.
Have you set up the configuration file properly?
[duncan at home ~]$ setenv ORBInitRef NameService=corbaname::localhost
[duncan at home ~]$ nameclt list
test.my_context/

What version of omniORB are you using?

Duncan.

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



More information about the omniORB-list mailing list