Remote Configure

来源:互联网 发布:群发qq消息软件 编辑:程序博客网 时间:2024/05/21 11:36

1.    Tomcat remote configure

Add configuration

CATALINA_OPTS="$CATALINA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"

to catalina.sh file

2.    Java server remote configure

a.     Project remote debug configure

Add

-agentlib:jdwp=transport=dt_socket,address=8086,server=y,suspend=n

to will execute java command in.py file

b.     JVM remote debug configure

Add

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

to will execute java command in .py file

Thengo to “C:\JDK\jdk1.8.0_25\bin” to execute “jvisualvm.exe

原创粉丝点击