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



          需要添加如下參數(shù):

          -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

          (本文也發(fā)表于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 | 迷你狐
          不知所云  回復  更多評論
            
          主站蜘蛛池模板: 馆陶县| 宁国市| 鲁甸县| 平湖市| 德阳市| 达州市| 家居| 东源县| 通江县| 桦南县| 临颍县| 云霄县| 淳安县| 靖安县| 绥芬河市| 邳州市| 隆化县| 赤水市| 曲阜市| 昌图县| 白水县| 绥中县| 福泉市| 无锡市| 长葛市| 仲巴县| 汽车| 大化| 柳林县| 思茅市| 都安| 乐清市| 榆中县| 来安县| 平度市| 孙吴县| 九龙城区| 满城县| 新化县| 偃师市| 金门县|