Posted on 2005-12-10 17:29
月亮的太陽 閱讀(1237)
評(píng)論(1) 編輯 收藏 所屬分類:
編程
Oracle XMLDB 占用了8080端口
解決辦法:
- 修改XMLDB的端口設(shè)置
- 禁止XMLDB監(jiān)聽端口
Change XMLDB PortsThis document explains how to change the default ports (8080 for HTTP and 2100 for FTP) in XMLDB.
Oracle XMLDB uses the ports 2100/8080 by default. Sometimes there are problem with other webservers (e.g. JBOSS) running on the same port.
Even if the package dbms_xdb is granted to PUBLIC you need DBA privileges to change the ports.
-- change HTTP port from 8080 to 8083call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()', 8083));
-- change FTP port from 2100 to 2111call dbms_xdb.cfg_update(updateXML( dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()' , 2111));
-- refresh settingsexec dbms_xdb.cfg_refresh;