JMX vs JMXMP #637
-
hi, wanted to check out if this is still the issue. - https://meteatamel.wordpress.com/2012/02/13/jmx-rmi-vs-jmxmp/ especially the part |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
For this reason, we always recommend to use single-port RMI with a known port number: https://cryostat.io/get-started/#using-jmx When Cryostat automatically discovers your applications by ex. Kubernetes Endpoints querying, it always uses JMX RMI on a single port. You can be extra-specific and set both port number properties on your application deployment:
to the same known number, but this should have the same effect as setting the one property alone. https://www.baeldung.com/jmx-ports Note that the "local attach port" can be left alone and on a random port number, because that isn't involved with remote connections over the network such as ones initiated by Cryostat. So it's only the JMX and RMI ports that need to be exposed and which should be set to the same number. |
Beta Was this translation helpful? Give feedback.
For this reason, we always recommend to use single-port RMI with a known port number:
https://cryostat.io/get-started/#using-jmx
When Cryostat automatically discovers your applications by ex. Kubernetes Endpoints querying, it always uses JMX RMI on a single port.
You can be extra-specific and set both port number properties on your application deployment:
to the same known number, but this should have the same effect as setting the one property alone.
https://www.baeldung.com/jmx-ports
Note that the "local attach port" can be left alone and on a random port number, because that isn't involved with remot…