幻境
          We are extremely fortunate not to know precisely the kind of world we live in
          posts - 22,comments - 39,trackbacks - 0



          需要添加如下參數:

          -Dcom.sun.management.jmxremote

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

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

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

          啟動JConsole以后會要求選擇連接,切換到Remote標簽頁port填8086就可以了

          ?

          舉例:

          catalina.bat中:

          set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8086 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

          (本文也發表于http://www.ondev.net/story/show/49,轉載請注明出處)

          posted on 2008-08-15 08:50 閱讀(1753) 評論(1)  編輯  收藏 所屬分類: 編程相關

          FeedBack:
          # re: 在tomcat中使用jconsole [未登錄]
          2008-08-16 16:24 | 迷你狐
          不知所云  回復  更多評論
            
          主站蜘蛛池模板: 连城县| 武鸣县| 安多县| 密山市| 涪陵区| 邳州市| 黑龙江省| 思茅市| 永兴县| 大港区| 嘉荫县| 隆昌县| 思南县| 长子县| 霍山县| 湘乡市| 大竹县| 咸阳市| 阿坝县| 宁阳县| 仪征市| 隆子县| 静宁县| 广元市| 濮阳市| 鄂伦春自治旗| 东光县| 手机| 广东省| 吴江市| 福贡县| 沙河市| 衡阳市| 班戈县| 壶关县| 黑山县| 灵璧县| 六枝特区| 甘孜| 通化县| 海林市|