[omniORB] environment variables vs. config file

Aaron Cloyd acloy001 at gmail.com
Thu Mar 26 10:03:47 GMT 2009


Ya, that works for me too.

So it looks like that env is getting lost somewhere between setting it, and
starting omniOrb. I'm using omniORB 4.1.0 btw.

Thanks for pointing me in the right direction.



On Thu, Mar 26, 2009 at 9:53 AM, Duncan Grisby <duncan at grisby.org> wrote:

> 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 --
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20090326/8d1642de/attachment.htm


More information about the omniORB-list mailing list