幻境
          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 | 迷你狐
          不知所云  回復  更多評論
            
          主站蜘蛛池模板: 扬州市| 云龙县| 孟村| 将乐县| 五寨县| 清镇市| 商都县| 蓝山县| 当雄县| 镶黄旗| 淮北市| 仙游县| 上虞市| 应城市| 浮梁县| 溧水县| 若羌县| 金秀| 湟源县| 贵定县| 惠东县| 法库县| 兰坪| 保康县| 库伦旗| 前郭尔| 泸溪县| 通州区| 五华县| 尼勒克县| 汝南县| 大洼县| 项城市| 塔城市| 彰武县| 社旗县| 德州市| 公安县| 醴陵市| 台州市| 黎川县|