Hi Andrew
How are you starting your reggie? What's the config?
If I understand it correctly, Reggie needs a couple of configuration
settings that end up requiring an IP address--serverExporter is one.
What I think you want to avoid in your situation, given your hosts
configuration, is something like the default
serverExporter = new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
invocationLayerFactory,
false,
true);
If you use TcpServerEndpoint without a host parameter, it will
delegate to InetAddress.getLocalHost(), which you don't want.
Basically, the way I read it, you can lookup the registrar because you
are doing a unicast lookup--you are specifying the host where the LUS
is running. However, the registrar exports an endpoint which is part
of what you receive in the call to getRegistrar(). It's how the
registrar proxy (on the client side) instance knows how to call home.
If it's exported with an endpoint bound to 127.0.0.1, you're stuck.
I believe in our case we always specify the host IP parameter for our
endpoints explicitly via the two-arg constructor to
TcpServerEndpoint--host, port.
HTH
Patrick