I thought I was getting close by playing with the following two parameters:
<jvm-options>-Djava.rmi.server.hostname=localhost</jvm-options>
<jvm-options>-Djava.rmi.server.useLocalHostname=true</jvm-options>
But the server still tries to connect to rmi://169.254.161.207:8686/management/rmi-jmx-connector
I have tried 127.0.0.1 and 127.0.0.1:8686 as the hostname as well but nothing I do seems to change the hostname. I also tried without the useLocalHostname parameter.
Does anyone know of a way to explicitly override the hostname?
[Message sent by forum member 'arjunlall' (arjunlall)]
http://forums.java.net/jive/thread.jspa?messageID=242844