jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: RMI problem
Date Mon, 26 Oct 2009 11:10:19 GMT

On Mon, Oct 26, 2009 at 5:04 AM, EJP <esmond.pitt@verismartsoftware.com> wrote:
> Jukka Zitting wrote:
>> By default the RMI server binds itself just to a single IP address,
> That's not correct.
> By default it binds itself to, i.e. INADDR_ANY, just like any other
> listening socket does, unless you tell it otherwise by providing an
> RMIServerSocketFactory that uses an explicit bind-address.
> The issue here is not the bind address but the hostname embedded in the
> stub, which is controlled by java.rmi.server.hostname and which has to be
> set in the presence of misconfigured DNS or /etc/hosts files or sometimes in
> multi-homed hosts. As discussed in the Sun RMI FAQ item A.1.

You're right, thanks for the clarification!


Jukka Zitting

View raw message