[omniORB] Localhost IP in IOR

Matthew N. White matthew.white@marconi.com
Thu, 07 Jun 2001 09:03:11 -0400


--------------10FA7A5601CA068E7DB5581B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I've had this problem before, and it resulted from an incorrect /etc/hosts
file containing:
127.0.0.1    ahostname

After correcting this, my problem was fixed.  I'm not positive, however,
the problem was with omniORB.

Matt

Rene Schneider wrote:

> Hello,
>
> although the problem seems quite simple to me, I didn't find anything in
> the documentation:
> I implemented a CORBA server with OmniORB which writes an IOR in a file.
> This file is accessible to another CORBA client on a different machine.
> Because the client didn't accept the IOR, I dumped the IOR and was very
> suprised to see the following:
>
> Repo Id:  IDL:Echo:1.0
> IIOP Profile
> Version:  1.0
> Address:  127.0.0.1:1669
> Key:  fe c7 01 1f 3b 00 00 18 b2 00 00 00 00 00       ....;.........
>
> Thus, OmniORB wrote the localhost IP (127.0.0.1) to the CORBA server's
> IOR, which, of course, is not acceptable in a distributed environment.
> I've searched for a switch somewhere to force the insertion of the
> correct IP address, but I wasn't successful in that.
> Other ORBs I tried out on the server side behaved correctly. What went
> wrong?
>
> Thank you
> Best regards,
>
> Rene Schneider
> System Analyst
>
> iSoftel Ltd
> 9 Penang Road
> #12-00 Park Mall
> Singapore 238459
> Tel: (65) 333 9888
> Fax: (65) 333 7938
> Website: www.isoftel.com
>
> ENABLING TECHNOLOGIES FOR CARRIER SERVICES

--
Matthew N. White
Senior Verification Engineer
Marconi Networks
724-742-6758



--------------10FA7A5601CA068E7DB5581B
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I've had this problem before, and it resulted from an incorrect /etc/hosts
file containing:
<br>127.0.0.1&nbsp;&nbsp;&nbsp; ahostname
<p>After correcting this, my problem was fixed.&nbsp; I'm not positive,
however, the problem was with omniORB.
<p>Matt
<p>Rene Schneider wrote:
<blockquote TYPE=CITE>Hello,
<p>although the problem seems quite simple to me, I didn't find anything
in
<br>the documentation:
<br>I implemented a CORBA server with OmniORB which writes an IOR in a
file.
<br>This file is accessible to another CORBA client on a different machine.
<br>Because the client didn't accept the IOR, I dumped the IOR and was
very
<br>suprised to see the following:
<p>Repo Id:&nbsp; IDL:Echo:1.0
<br>IIOP Profile
<br>Version:&nbsp; 1.0
<br>Address:&nbsp; 127.0.0.1:1669
<br>Key:&nbsp; fe c7 01 1f 3b 00 00 18 b2 00 00 00 00 00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
....;.........
<p>Thus, OmniORB wrote the localhost IP (127.0.0.1) to the CORBA server's
<br>IOR, which, of course, is not acceptable in a distributed environment.
<br>I've searched for a switch somewhere to force the insertion of the
<br>correct IP address, but I wasn't successful in that.
<br>Other ORBs I tried out on the server side behaved correctly. What went
<br>wrong?
<p>Thank you
<br>Best regards,
<p>Rene Schneider
<br>System Analyst
<p>iSoftel Ltd
<br>9 Penang Road
<br>#12-00 Park Mall
<br>Singapore 238459
<br>Tel: (65) 333 9888
<br>Fax: (65) 333 7938
<br>Website: www.isoftel.com
<p>ENABLING TECHNOLOGIES FOR CARRIER SERVICES</blockquote>

<pre>--&nbsp;
Matthew N. White
Senior Verification Engineer
Marconi Networks
724-742-6758</pre>
&nbsp;</html>

--------------10FA7A5601CA068E7DB5581B--