Thanks for the reply.<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>The ORBid and ORBgipMaxMsgSize get through fine. As soon as I add the InitRef line back into the config file or the command line, it starts up fine.<br>
<br>Bash is what's shown in the documentation that I saw, so I tried that too. Did the same thing.<br><br>I also tried different different formats like these:<br>setenv ORBInitRef NameService=corbaname::"host":"port"<br>
setenv ORBInitRef corbaname::"host":"port"<br>setenv InitRef NameService=corbaname::"host":"port"/NameService<br><br>Thanks for any advice.<br><br><div class="gmail_quote">On Thu, Mar 26, 2009 at 9:15 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 19 March, AaronCloyd wrote:<br>
<br>
> I have my omniORB.cfg file setup properly with several parameters. I would<br>
> like to be able to set environment variables for all of the options instead.<br>
> I have been successful with all of these except one.<br>
><br>
> This is my current config file:<br>
> InitRef = NameService=corbaname::myHostName:myPort/NameService<br>
> id = omniORB4<br>
> giopMaxMsgSize = 160000000<br>
><br>
> I was able to set the ORBid and ORBgiopMaxMsgSize envars just fine. I was<br>
> not able to get an envar for ORBInitRef to work. Is this environment<br>
> variable supported? Is there a list of available envars or config file<br>
> options available somewhere?<br>
<br>
</div>It works fine for me. What exactly did you do, and what went wrong?<br>
<br>
Cheers,<br>
<br>
Duncan.<br>
<font color="#888888"><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>
</font></blockquote></div><br>