質問

I try to use visual vm to profile my web app served with jetty. But Visual VM is always be connecting... Cannot connect to the local process and show the diagram.

My Env

archlinux latest version

visualVM 1.3.5

Jetty8

openjdk 7u17 enter image description here

役に立ちましたか?

解決 2

WTF, I wait for about 10 minutes and... finally , it connected!!!

他のヒント

You need to add the following parameters to the tomcat startup:

-Dcom.sun.management.jmxremote.port=8086

-Dcom.sun.management.jmxremote.ssl=false

-Dcom.sun.management.jmxremote.authenticate=false

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top