隨筆 - 6  文章 - 129  trackbacks - 0
          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(14)

          隨筆檔案(6)

          文章分類(467)

          文章檔案(423)

          相冊

          收藏夾(18)

          JAVA

          搜索

          •  

          積分與排名

          • 積分 - 827168
          • 排名 - 49

          最新評論

          閱讀排行榜

          評論排行榜

          tomcat
          Apache2+Tomcat6+MOD_JK集群      摘要: o run session replication in your Tomcat 6.0 container, the following steps should be completed:

          All your session attributes must implement java.io.Serializable
          Uncomment the Cluster element in server.xml
          If you have defined custom cluster valves, make sure you have the ReplicationValve defined as well under the Cluster element in server.xml
          If your Tomcat instances are running on the same machine, make sure the tcpListenPort attribute is unique for each inst  閱讀全文
          posted @ 2011-06-16 12:02 Ke 閱讀(1258) | 評論 (0)  編輯
          config.getServletContext().getRealPath("/")返回NULL的解決辦法      摘要: java.net.URL url = this.getClass().getResource("/");
          String mSchemaPath = url.getFile();
          if (mSchemaPath != null || !mSchemaPath.equals("")) {
          String separator = "/";
          int lastSlash = mSchemaPath.lastIndexOf(separator);
          if (lastSlash == -1) {
          separator = "\\";
          lastSlash = mSchemaPath.lastIndexOf(separator);
          }
          prefix = mSchemaPath.substring(0, lastSlash);  閱讀全文
          posted @ 2010-12-03 22:06 Ke 閱讀(2435) | 評論 (0)  編輯
          eclipse項目發布webapps      摘要: 1:找到 server 面板,右擊當前的那個 tomcat,先 remove 掉其中所有的工程
          2:再右擊那個 tomcat,選擇 clean... 清空一下
          3:雙擊那個 tomcat,會打開屬性面板,找到左邊第二個 server locations,你那個單選框選中的應該是第一個,你選擇第三個,在 server path 中輸入你想要的路徑后,保存即可以了  閱讀全文
          posted @ 2010-10-21 15:34 Ke 閱讀(417) | 評論 (0)  編輯
          Tomcat 內存溢出
          posted @ 2010-01-05 08:52 Ke 閱讀(1533) | 評論 (0)  編輯
          Apache + Tomcat 負載均衡及Session綁定的實現(轉)      摘要: 本測試使用的軟體下載地址:

          http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.15/

          http://archive.apache.org/dist/httpd/binaries/win32/
            閱讀全文
          posted @ 2009-11-26 15:26 Ke 閱讀(490) | 評論 (0)  編輯

          主站蜘蛛池模板: 新闻| 油尖旺区| 长寿区| 石楼县| 平遥县| 明星| 喀喇| 青阳县| 于田县| 安阳市| 银川市| 江阴市| 新乡市| 沾益县| 贵港市| 平湖市| 玉环县| 石城县| 武城县| 舟山市| 五莲县| 莱州市| 永和县| 扎赉特旗| 遵化市| 岐山县| 东莞市| 铜山县| 册亨县| 蕲春县| 剑川县| 逊克县| 罗江县| 巴林右旗| 甘谷县| 固镇县| 陆丰市| 大同市| 星子县| 上犹县| 淮南市|