<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=062050613-20112006>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062050613-20112006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062050613-20112006>We are currently
integrating with omniORB (version 4.0.7). We want to use the ORB_init parameters
mainly like ,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062050613-20112006>" -ORBInitialHost 192.168.1.50 -ORBInitialPort
2809". But we are getting the exception "omniORB: ORB_init failed: unknown
option (-ORBInitialHost) in -ORB arguments"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062050613-20112006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062050613-20112006>We followed the
documents
"<http://www.cl.cam.ac.uk/research/dtg/attarchive/omniORB/doc/2.8/omniORB2/node5.html#omniorbapioptions>"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=062050613-20112006>for
ORBInitialHost and ORBInitialPort . </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062050613-20112006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062050613-20112006>By adding the
parameters (ORBInitialHost and ORBInitialPort ) in <FONT
face="Times New Roman" size=3>omniORB.cfg</FONT>, after starting 'omniNames'
<FONT face="Times New Roman" size=3>we were successfully able to connect from
our Java ORB Client using, "<FONT face=Arial size=2>ORBInitialHost and
ORBInitialPort ".</FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062050613-20112006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062050613-20112006>But if we try to add
as a command line arguments (ORBInitialHost and ORBInitialPort ) to
the Servant program, we got the above exception "omniORB: ORB_init failed:
unknown option (-ORBInitialHost) in -ORB arguments".</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062050613-20112006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062050613-20112006>If anybody can tell
me, how to pass "ORBInitialHost and ORBInitialPort "
in "CORBA::ORB_init(argc, argv)", we will be very helpful.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062050613-20112006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062050613-20112006>Thanks in
advance.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062050613-20112006>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062050613-20112006>Nilanjan</SPAN></FONT></DIV></BODY></HTML>