⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jmx-console.xtp

📁 RESIN 3.2 最新源码
💻 XTP
字号:
<document><header><product>resin</product><title>JMX Consoles</title><description><p>JMX Consoles provide access to both the MBean's that Resin publishes forinformation about and control of the Resin server and Application specificMBeans.</p></description></header><body><summary localtoc="true"/><s1 title="JDK 5.0 and JMX"><p>JDK 5.0 includes a JMX implementation that is used to provide local and remote administration of a Resin server.</p><example title="Start Resin and allow local JMX administration">win&gt; ./resin.exe -Dcom.sun.management.jmxremoteunix&gt; bin/resin.sh -Dcom.sun.management.jmxremote</example><example title="Start jconsole">win&gt; jconsole.exeunix&gt; jconsole<i>Choose Resin's JVM from the "Local" list.</i></example><example title="Start Resin and allow remote JMX administration">win&gt; ./resin.exe -Dcom.sun.management.jmxremote.port=9999unix&gt; bin/resin.sh -Dcom.sun.management.jmxremote.port=9999</example><p>Without some configuration effort, the previous command will not work.Password configuration and SSL configuration is required by the JDKimplementation of remote JMX.  Detailed instructions are included in the JDKdocumentation.</p><p>The following is useful for testing, but should be done with caution as theport is not protected by password or by SSL, and if not protected by a firewallis accessible by anyone who can guess the port number.</p><example title="Start Resin and remote JMX - disable password checking and SSL">win&gt; ./resin.exe -Dcom.sun.management.jmxremote.port=9999                    -Dcom.sun.management.jmxremote.ssl=false                    -Dcom.sun.management.jmxremote.authenticate=falseunix&gt; bin/resin.sh -Dcom.sun.management.jmxremote.port=9999 \                      -Dcom.sun.management.jmxremote.ssl=false \                      -Dcom.sun.management.jmxremote.authenticate=false</example><example title="Start jconsole">win&gt; jconsole.exeunix&gt; jconsole<i>Enter the host name and port number (9999) on the "Remote" tab</i></example><example title="Setting a password for remote JMX access">$ cd $JAVA_HOME/jre/lib/management$ cp jmxremote.password.template jmxremote.password$ chmod u=rw jmxremote.password$ vi jmxremote.password<i>Set a password for "monitorRole" and "controlRole":</i>monitorRole 12monitorcontrolRole 55control</example><example title="Start Resin and remote JMX - disable SSL">win&gt; ./resin.exe -Dcom.sun.management.jmxremote.port=9999                    -Dcom.sun.management.jmxremote.ssl=falseunix&gt; bin/resin.sh -Dcom.sun.management.jmxremote.port=9999 \                      -Dcom.sun.management.jmxremote.ssl=false</example><example title="Start jconsole">win&gt; jconsole.exeunix&gt; jconsole</example><p><i>Enter the host name and port number (9999) on the "Remote" tab</i><i>Enter the username and password on the "Remote" tab</i></p></s1></body></document>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -