I cannot connect to ActiveMQ Classic from JConsole

 FAQ > Errors > I cannot connect to ActiveMQ Classic 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=<hostname> 
activemq

or on Windows

SET ACTIVEMQ\_OPTS=%ACTIVEMQ\_OPTS% -Djava.rmi.server.hostname=<hostname> 
activemq

Apache, ActiveMQ, Apache ActiveMQ, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2024, The Apache Software Foundation. Licensed under Apache License 2.0.