[omniORB] Re: Problem connecting from internet to multi home server

Wernke zur Borg Wernke.zur.Borg at vega.de
Fri May 20 09:40:02 BST 2005


> ... The reason is that the server
> broadcasts in its IOR all the addresses which it's listening to.

Just to put this correctly: By default "the ORB publishes the IP address of
the first non-loopback network interface it can find (or the loopback
interface if that is the only interface)". (User's Guide 4.0, section 8.6)

This also means that by default the set of listen interfaces is different
from the set of interfaces published in IORs. Whereas by default the ORB
listens on all interfaces, it only publishes one in an outgoing IOR. This
published endpoint is more or less random if you have multiple non-loopback
interfaces, therefore you will usually have to specify it with the endPoint
option to avoid problems of the reported kind.

I have tried with endPointPublishAllIFs=1 but to no avail. Although the
server might publish all interfaces (which I have not checked) I guess that
no client will automatically try all of them one after the other. At least
my omniORB client did not do that. Has anybody ever used this option? Is it
part of the standard, anyway? And how big is the time penalty until the
client finds the correct address?

Regards, Wernke






More information about the omniORB-list mailing list