深圳培训课程分类
深圳网校课程
深圳免费公开课讲座
深圳培训资讯网
深圳考试资讯
深圳培训机构视频展示
深圳培训机构
深圳培训资讯网首页 深圳硕士学历培训 深圳自学考试培训 深圳成考远程培训 深圳外语培训 深圳IT培训 深圳资格认证培训 深圳出国留学 深圳就业技能培训 深圳基础教育培训
课程搜索
资料搜索
当前位置:IT培训 -> Oracle认证

OracleXMLDB占用了8080端口


导航教育中心热点导读
 
 
  深圳成人高考网
· 华杰MBA09年考前辅导热招 ·南昌大学08年成考热门专业招生
· 中南财大金融硕士\华中项目硕士 ·深圳商祺人力资源管理师培训热招
· 深圳物流师认证培训课程大全 ·亚洲(澳门)公开大学MBA深圳热生
· 深圳营养师认证培训课程大全 ·香港财经大学工商管理博士(DBA)
 







解决办法: 
修改XMLDB的端口设置 
禁止XMLDB监听端口 

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; 

命令示例:

SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
  2  '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081))
  3  /
SQL> commit;
 
Commit complete.
 
SQL>  exec dbms_xdb.cfg_refresh;




[oracle@test11 oracle]$ sqlplus /nolog
 
SQL*Plus: Release 9.2.0.4.0 - Production on Sat Aug 6 14:24:49 2005
 
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
 
SQL> connect / as sysdba;
Connected.
-- 把HTTP/WEBDAV端口从8080改到8081
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
  2  '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081))
  3  / 
Call completed.
-- 把FTP端口从2100改到2111 
SQL>  call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
  2  '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',2111))
  3  /
 
Call completed.
 
SQL> commit;
 
Commit complete.
 
SQL>  exec dbms_xdb.cfg_refresh;
 
PL/SQL procedure successfully completed.
-- 检查修改是否已经成功 
SQL> select dbms_xdb.cfg_get from dual;
 
CFG_GET
--------------------------------------------------------------------------------
<xdbconfig xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd" xmlns:xsi="http://w
 
SQL> 

[oracle@test11 oracle]$ netstat -ntlp  
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:32768           0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:32769         0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:2401            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:33730           0.0.0.0:*               LISTEN      14987/ora_d000_szdb 
tcp        0      0 0.0.0.0:873             0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      2473/tnslsnr        
tcp        0      0 0.0.0.0:1521            0.0.0.0:*               LISTEN      2473/tnslsnr        
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:2111            0.0.0.0:*               LISTEN      2473/tnslsnr        
tcp        0      0 :::11009                :::*                    LISTEN      -                   
tcp        0      0 ::ffff:127.0.0.1:4001   :::*                    LISTEN      -                   
tcp        0      0 ::ffff:127.0.0.1:4002   :::*                    LISTEN      -                   
tcp        0      0 :::9090                 :::*                    LISTEN      -                   
tcp        0      0 ::ffff:127.0.0.1:12005  :::*                    LISTEN      -                   
tcp        0      0 :::12009                :::*                    LISTEN      -                   
tcp        0      0 :::8080                 :::*                    LISTEN      -                   
tcp        0      0 :::80                   :::*                    LISTEN      -                   
tcp        0      0 :::22                   :::*                    LISTEN      -                   
tcp        0      0 ::ffff:127.0.0.1:11005  :::*                    LISTEN      -                   
[oracle@test11 oracle]$
发布日期: (2007-5-24) 来源:互联网
本文关键字:
打印】 【收藏】 【关闭窗口





·深圳雅思强化(保6分)全日班、晚班、周末班
·深圳MBA:亚洲(澳门)国际公开大学MBA招生
·加拿大皇家大学MBA学位班深圳招生
·深圳上海新世界日语套餐班
·华杰MBA精品班保过班热招
·深圳国家物流师职业资格认证培训
关键词
关键词
  • Oracle数据库中使用DBMS_PROFILER进行调优  2008-5-16
  • 详细讲解Oracle数据库后台进程的具体功能  2008-5-16
  • 循序渐进讲解Oracle数据库管理员的职责  2008-5-16
  • 怎样在Oracle中执行一次基本的快照复制  2008-5-16
  • Oracle数据库中管理表空间和数据文件  2008-5-12
  • 讲解Oracle面试过程中常见的二十个问题  2008-5-12

  • | 关于我们 | | 网站地图 | | 联系我们 | | 合作伙伴 | | 设为首页 | 加入收藏 |

    版权所有:深圳培训资讯网 | 深圳市导航教育服务有限公司
    Copyright©2004 szedu.com.cn Inc. All Rights Reserved
    Mailto: Postmaster@szedu.com.cn