@hunter129

          天天學習,好好向上!

             :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            21 隨筆 :: 5 文章 :: 37 評論 :: 0 Trackbacks
          tomcat與oracle xdb 的http服務都是使用8080端口,這個我們這些web開發人員帶來了不少麻煩。
          解決xdb和tomcat的8080端口沖突問題
          1.改變xdb的http和ftp服務端口
          使用sys登錄sqlplus
          sqlplus sys/syspassword as sysdba
          然后執行如下的腳本
          ------------------------------
          --  Change  the  HTTP/WEBDAV  port  from  8080  to  8081
          call  dbms_xdb.cfg_update(updateXML(
             dbms_xdb.cfg_get()
             ,  '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'
             ,  8081))
          /
          --  Change  the  FTP  port  from  2100  to  2111
          call  dbms_xdb.cfg_update(updateXML(
                 dbms_xdb.cfg_get()
             ,  '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()'
             ,  2111))
          /
          COMMIT;
          EXEC  dbms_xdb.cfg_refresh;

          2.當然是改變tomvat的端口啦~
          打開tomcat安裝目錄 /conf/server.xml 文件 將其中的所有服務端口都改了就ok了~~


          posted on 2008-01-23 19:56 hunter129 閱讀(354) 評論(0)  編輯  收藏 所屬分類: 基礎
          主站蜘蛛池模板: 河南省| 丰县| 砚山县| 平谷区| 兴文县| 泽库县| 巴彦县| 昭苏县| 江城| 隆回县| 溆浦县| 宜宾市| 大渡口区| 虹口区| 临汾市| 临猗县| 南皮县| 黄浦区| 龙江县| 定边县| 晋中市| 买车| 越西县| 合山市| 大庆市| 新营市| 崇礼县| 玉田县| 枣阳市| 乳源| 通河县| 余干县| 五常市| 喀什市| 乳山市| 蒙自县| 遵义市| 大足县| 玛沁县| 威信县| 平凉市|