Change XMLDB Ports
上一篇 /
下一篇 2008-05-20 11:48:35
/ 个人分类:Oracle
1 Windows下通过netstat -an -o -b可知是TNSLSNR.exe占用了8080端口
2 此方法解决Oracle端口与Tomcat等web服务器默认端口冲突的问题
3 修改立即生效
Change XMLDB Ports
This 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 8083
call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()', 8083));
-- change FTP port from 2100 to 2111
call dbms_xdb.cfg_update(updateXML( dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()' , 2111));
-- refresh settings
exec dbms_xdb.cfg_refresh;
References
导入论坛
引用链接
收藏
分享给好友
推荐到圈子
管理
举报
TAG:
8080
tnslsnr
端口冲突