Github user jsmucr commented on the issue:

    https://github.com/apache/activemq-artemis/pull/2420
  
    I think you mean something like this, right?
    ```JAVA_ARGS="$JAVA_ARGS -Dcom.sun.management.jmxremote"
    JAVA_ARGS="$JAVA_ARGS -Dcom.sun.management.jmxremote.authenticate=false"
    JAVA_ARGS="$JAVA_ARGS -Dcom.sun.management.jmxremote.ssl=false"
    JAVA_ARGS="$JAVA_ARGS -Dcom.sun.management.jmxremote.port=1099"
    JAVA_ARGS="$JAVA_ARGS -Dcom.sun.management.jmxremote.rmi.port=1098"
    JAVA_ARGS="$JAVA_ARGS 
-Djava.rmi.server.hostname=edimq-broker-master-az1.dc01.clouedi.local"```
    
    This works but it's not how it's meant to be set up. The proper way is to 
set the port in the `management.xml` file and this patch allows you to set the 
RMI port there as well (using the `rmi-registry-port` attribute). It worked for 
me.


---

Reply via email to