You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Vilius Šumskas (Jira)" <ji...@apache.org> on 2025/01/26 18:16:00 UTC
[jira] [Created] (ARTEMIS-5261) Cannot set the same port for JMX and RMI registry
Vilius Šumskas created ARTEMIS-5261:
---------------------------------------
Summary: Cannot set the same port for JMX and RMI registry
Key: ARTEMIS-5261
URL: https://issues.apache.org/jira/browse/ARTEMIS-5261
Project: ActiveMQ Artemis
Issue Type: Bug
Environment: Rocky Linux 9.5
ActiveMQ Artemis 2.39.0
Reporter: Vilius Šumskas
If one tries to configure the same port for Artemis JMX remote management and RMI registry he will get *port already used* bind error during broker startup.
Steps to reproduce:
# Create standard Artemis instance.
# Configure JMX remote management in *management.xml* with {*}<connector connector-port="1099" rmi-registry-port="1099" />{*}.
# Start the browser and observe bind error in the logs.
Standard JVM JMX agent allows to use the same port for JMX and RMI so it should be possible to configure the same with Artemis' JMX MBean. Usually static RMI registry port is needed for JMX servers which are behind firewall/NAT. It would allow simpler network configuration.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact