[omniORB] Linux problem

Duncan Grisby dgrisby@uk.research.att.com
Mon, 14 Aug 2000 10:03:13 +0100


On Friday 11 August, "Ilinykh, Andre" wrote:

> I'm trying to port application from Solaris to Linux. (I'm using omniORB
> 3.0)
> I created, activated my servant and dump IOR. catior shows the IOR as:
> 
> Type ID: "IDL:MyServer:1.0"
> Profiles:
> 1. IIOP 1.0 127.0.0.1 3002 ".my poa.MyServer"
> 
> Of course, nobody can connect to my servant. It looks like under Linux omni
> catches first interface it founds.

This is a misconfiguration of your Linux machine. It should not be
reporting the loopback interface as the first interface, unless that
is the only interface it has.

If you can't figure out how to set your Linux machine up to give the
network interface first, look into the -ORBpoa_iiop_name_port command
line option and the OMNIORB_USEHOSTNAME environment variable.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --