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

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -