@hunter129

          天天學習,好好向上!

             :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            21 隨筆 :: 5 文章 :: 37 評論 :: 0 Trackbacks
          tomcat與oracle xdb 的http服務都是使用8080端口,這個我們這些web開發(fā)人員帶來了不少麻煩。
          解決xdb和tomcat的8080端口沖突問題
          1.改變xdb的http和ftp服務端口
          使用sys登錄sqlplus
          sqlplus sys/syspassword as sysdba
          然后執(zhí)行如下的腳本
          ------------------------------
          --  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 閱讀(351) 評論(0)  編輯  收藏 所屬分類: 基礎
          主站蜘蛛池模板: 高雄县| 义马市| 百色市| 陆丰市| 青田县| 德庆县| 城步| 通辽市| 玉龙| 大同县| 宁夏| 伊川县| 江陵县| 花垣县| 德化县| 阿拉尔市| 印江| 永新县| 成安县| 衡东县| 蚌埠市| 大同市| 汤阴县| 贵南县| 德惠市| 仙桃市| 凉山| 瑞金市| 宝鸡市| 德州市| 富源县| 牙克石市| 孝感市| 萨迦县| 兰坪| 策勒县| 财经| 乌鲁木齐县| 宜宾市| 深圳市| 黄山市|