jvm远程调试及监控配置

resin远程调试

<jvm-arg>-Xdebug</jvm-arg>

<jvm-arg>-Xnoagent</jvm-arg>

<jvm-arg>-Djava.compiler=NONE</jvm-arg>

<jvm-arg>-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2012</jvm-arg>

 

resin远程监控

<jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>

<jvm-arg>-Dcom.sun.management.jmxremote.port=2011</jvm-arg>

<jvm-arg>-Dcom.sun.management.jmxremote.ssl=false</jvm-arg>

<jvm-arg>-Dcom.sun.management.jmxremote.authenticate=true</jvm-arg>

<jvm-arg>-Dcom.sun.management.jmxremote.password.file=/home/navigator/run/resin/conf/jmxremote.password</jvm-arg>


你可能感兴趣的:(jvm)