Ya, that works for me too. <br><br>So it looks like that env is getting lost somewhere between setting it, and starting omniOrb. I'm using omniORB 4.1.0 btw.<br><br>Thanks for pointing me in the right direction.<br><br>
<br><br><div class="gmail_quote">On Thu, Mar 26, 2009 at 9:53 AM, Duncan Grisby <span dir="ltr"><<a href="mailto:duncan@grisby.org">duncan@grisby.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thursday 26 March, Aaron Cloyd wrote:<br>
<br>
> I've tried sourcing this:<br>
> setenv ORBid omniORB4<br>
> setenv ORBInitRef NameService=corbaname::host:port/NameService<br>
> setenv ORBgiopMaxMsgSize 160000000<br>
><br>
> And I get this error:<br>
> CORBA::Exception Thrown: NO_RESOURCES<br>
> Unable to get Naming Service<br>
<br>
</div>That looks like csh. It works for me:<br>
<br>
[duncan@home ~]$ nameclt list<br>
Cannot resolve the root context.<br>
Have you set up the configuration file properly?<br>
[duncan@home ~]$ setenv ORBInitRef NameService=corbaname::localhost<br>
[duncan@home ~]$ nameclt list<br>
test.my_context/<br>
<br>
What version of omniORB are you using?<br>
<div><div></div><div class="h5"><br>
Duncan.<br>
<br>
--<br>
-- Duncan Grisby --<br>
-- <a href="mailto:duncan@grisby.org">duncan@grisby.org</a> --<br>
-- <a href="http://www.grisby.org" target="_blank">http://www.grisby.org</a> --<br>
</div></div></blockquote></div><br>