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: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to