Apache ActiveMQ ™ -- I cannot connect to ActiveMQ from JConsole
FAQ > Errors > I cannot connect to ActiveMQ from JConsole
Make sure that the machine you are talking to has a valid java.rmi.server.hostname-property value
e.g. on unix (OS X, Linux, Solaris)
export ACTIVEMQ_OPTS=$ACTIVEMQ_OPTS -Djava.rmi.server.hostname=
or on Windows
SET ACTIVEMQ_OPTS=%ACTIVEMQ_OPTS% -Djava.rmi.server.hostname=