Why isn't VisualVM showing all the normal tabs?

前端 未结 8 1488
暖寄归人
暖寄归人 2020-12-29 02:24

Usually I see all these tabs in VisualVM for locally running Java programs:

\"enter

8条回答
  •  借酒劲吻你
    2020-12-29 02:49

    You might need to enable jmx ports on your app. Try adding these switches to your VM and see if the tabs appear again:

    -Dcom.sun.management.jmxremote.port=6789 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false

提交回复
热议问题