网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > 数据库 > Oracle教程
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
数据库:数据库教程,数据库技巧,Oracle教程,MySQL教程,Sybase教程,Access教程,DB2教程,数据库安全,数据库文摘
本月文章推荐
.错误解决:ora-12638:身份证明检.
.PXE Remote Boot --Linux.
.Oracle 50个具有决定意义的重大事.
.处理未决事务.
.Oracle 10G 最佳20位新特性:自动.
.转载:ORACLE物理文件大小的限制.
.详细讲解Oracle在Solaris下的性能.
.Oracle数据库9i 关于审计(图).
.VB调用Oracle返回数据集.
.Oracle编程经验及维护点滴.
.ORA-600 [2103]错误解决过程.
.如何查出前台正在发出的sql语句.
.Oracle在Linux下的安装.
.Statspack使用中存在的几个误区.
.带你快速了解wait等待事件及其处.
.Oracle 10g学习手册2:安装与构建.
.ORACLE SQL性能优化系列 (十一).
.创建表时考虑列的顺序.
.理解oracle的网络结构 解决连接问.
.Oracle 7.3.4 for OpenServer 5 .

Oracle XMLDB 占用了8080端口

发表日期:2008-2-9


    解决办法:
  1. 修改XMLDB的端口设置
  2. 禁止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]$

上一篇:Oracle主要的配置文件解释 人气:1265
下一篇:oracle的net configure assistant的使用过程 人气:621
浏览全部Oracle教程的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐