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

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -