java - How to find dynamically allocated JMX port when port is 0 -
for java application when jmx enabled , port set 0, port dynamically allocated:
-dcom.sun.management.jmxremote.port=0
what best way find out port allocated? managed find out using ps , pfiles on solaris, hoping there simpler why find (programmatically)
also there better way assign dynamic jmx ports java applications on same box , keep track of them?
Comments
Post a Comment