Project

General

Profile

JMX

How to make the JMX server accept connections to the IP address rather then hostname

Start Java with following property:

-Djava.rmi.server.hostname=NNN.NNN.NNN.NNN

How to avoid slow startup:

-Dsun.rmi.transport.tcp.localHostnameTimeOut=2000

(v. http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/faq.html)