Posted on 2005-12-10 17:29
月亮的太阳 阅读(1227)
评论(1) 编辑 收藏 所属分类:
编程
Oracle XMLDB 占用了8080端口
解决办法:
- 修改XMLDB的端口设置
- 禁止XMLDB监听端口
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;