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
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
WTF,我等待了大约10分钟,然后...终于,它连接了!!!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.