将测试进行到底!

查看并修改ORACLE 10g iSQL*Plus和OE端口

上一篇 / 下一篇  2009-12-24 12:46:38 / 个人分类:ORACLE

 

查看$ORACLE_HOME/install/portlist.ini文件

 

[oracle@qc install]$ cat portlist.ini

 

iSQL*Plus HTTP port number =5560

Enterprise Manager Console HTTP Port (QCTEST) = 1158

Enterprise Manager Agent Port (QCTEST) = 3938

Enterprise Manager Console HTTP Port (QC_TEST) = 1159

Enterprise Manager Agent Port (QC_TEST) = 3939

 

QCTEST和QC_TEST分别 为两个数据库

 

登陆OE时分别选择不同端口登陆相应实例。

-------------------------------------------------------------

修改 端口

 

修改iSQL*Plus 默认端口:

打开配置文件ORACLE_HOME/oc4j/j2ee/isqlplus/config/http-web-site.xml,将其中的<web-site port="5560" display-name="OC4J Java HTTP Web Site">行的端口号5560修改成新的端口号。

[oracle@qc config]$ cat http-web-site.xml
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE web-site PUBLIC "OracleAS XML Web-site" "http://xmlns.oracle.com/ias/dtds/web-site-9_04.dtd">
<!-- change the host name below to your own host name. Localhost will -->
<!-- not work with clustering -->
<!-- also add cluster-island attribute as below
<web-site host="localhost" port="8888"
          display-name="OC4J Java HTTP Web Site" cluster-island="1" >
-->

<web-site port="5560" display-name="OC4J Java HTTP Web Site">
        <!-- Uncomment the following line when using clustering -->
        <!-- <frontend host="your_host_name" port="80" /> -->
        <!-- The default web-app for this site, bound to the root -->
        <default-web-app application="default" name="defaultWebApp"/>
        <web-app application="default" name="dms0" root="/dms0"/>
        <web-app application="default" name="dms" root="/dmsoc4j"/>
        <web-app application="isqlplus" name="isqlplus" load-on-startup="true" root="/isqlplus" />
        <web-app application="isqlplushelp" name="isqlplushelp" load-on-startup="true" root="/isqlplushelp" />

        <!-- Access Log, where requests are logged to -->
        <access-log path="../log/http-web-access.log"/>
        <!-- Uncomment this if you want to use ODL logging capabilities
        <odl-access-log path="../log/http-web-access" max-file-size="1000" max-directory-size="10000"/>
        -->
</web-site>

 

 

修改OEM 默认端口(Enterprise Manager Console HTTP Port)

 

  emca -reconfig ports -dbcontrol_http_port 5500

  emca -reconfig ports -agent_port 5556

 


TAG:

 

评分:0

我来说两句

Open Toolbar