<br><font size=2 face="sans-serif">Fix up your omniORB.cfg file so that the name service is defined properly in the initial context... &nbsp;The section should look something like the following (of course your hostname/port may be different)</font>
<br>
<br><font size=2 face="sans-serif">############################################################################</font>
<br><font size=2 face="sans-serif"># InitRef</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif"># &nbsp; Specify the objects the ORB should return in response to calls to</font>
<br><font size=2 face="sans-serif"># &nbsp; resolve_initial_references.</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif"># &nbsp; There can be more than one configuration line defining InitRef.</font>
<br><font size=2 face="sans-serif"># &nbsp; Each line adds one initial reference to the ORB.</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif"># &nbsp; Here are some valid examples:</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif"># &nbsp; Specify the root context of the Naming Service. (Notice the end of line</font>
<br><font size=2 face="sans-serif"># &nbsp; continuation marker '\'</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif"># &nbsp; InitRef = NameService=IOR:010000002800000049444c3a6f6d672e6f72672f436f734\</font>
<br><font size=2 face="sans-serif">#e616d696e672f4e616d696e67436f6e746578743a312e300001000000000000002c000000010\</font>
<br><font size=2 face="sans-serif">#102000c0000003139322e3136382e312e3000f90a00000c000000349568c45cb1e6780000000\</font>
<br><font size=2 face="sans-serif">#100000000</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif"># &nbsp; Alternatively, and more cleanly, specify the Naming service with a</font>
<br><font size=2 face="sans-serif"># &nbsp; corbaname URI:</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif">InitRef = NameService=corbaname::ultra60</font>
<br><font size=2 face="sans-serif">#InitRef = NameService=corbaname::10.10.17.27</font>
<br><font size=2 face="sans-serif">#InitRef = NameService=corbaname::localhost</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif"># &nbsp; Specify the Trading service and the interface repository using corbaloc:</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif"># &nbsp; InitRef = TradingService=corbaloc:iiop:marrow:5009/MyObjectKey</font>
<br><font size=2 face="sans-serif"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = InterfaceRepository=corbaloc::1.2@marrow:5009/Intf</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif"># &nbsp; The default for the set of initial references is empty.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Renny Koshy<br>
President &amp; CEO<br>
<br>
--------------------------------------------<br>
RUBIX Information Technologies, Inc.<br>
www.rubixinfotech.com</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>unixwrld &lt;unixwrld@yahoo.com.ar&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: omniorb-list-bounces@omniorb-support.com</font>
<p><font size=1 face="sans-serif">11/08/2004 05:47 PM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;omniorb-list@omniorb-support.com</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;[omniORB] NameService: eg3_impl.cc</font></table>
<br>
<br>
<br><font size=3 face="Times New Roman">Hello,</font>
<br><font size=3 face="Times New Roman">I'm using omniORB 4.0.5 for linux and I want to use omniName. I read the README.unix file and setting the enviroment. The omniName program start with no problems. Now, when I run eg3_impl sample, it returns System exception.</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<p><font size=2 face="Times New Roman">CosNaming::NamingContext_var rootContext;</font>
<p><font size=2 face="Times New Roman">CORBA::Object_var obj;</font>
<p><font size=2 face="Times New Roman">obj = orb-&gt;resolve_initial_references(&quot;NameService&quot;);</font>
<p><font size=2 face="Times New Roman">rootContext = CosNaming::NamingContext::_narrow(obj); // Here it send the system exception.</font>
<p><font size=2 face="Arial">What happen?</font>
<p><font size=3 face="Times New Roman">Correo Yahoo! - 6 MB, tecnología antispam ¡gratis! <br>
Suscribite ya http://correo.yahoo.com.ar/</font><font size=2 face="Courier New">_______________________________________________<br>
omniORB-list mailing list<br>
omniORB-list@omniorb-support.com<br>
http://www.omniorb-support.com/mailman/listinfo/omniorb-list<br>
</font>
<p>
<p>