Modify the default XDB listening port

Source: Internet
Author: User

Modify the default XDB listening port Oracle9i default xml db to set the default HTTP port to 8080. This is a very common port, which is used by many other webservers, if we have installed it, we 'd better modify it to avoid conflicts. If we don't use it, we 'd better not disable the XDB service: An XDB service is added to oracle9i and started on port 8080, the following operations can be removed. Edit $ ORACLE_HOME/dbs/initSID. remove the following lines from the ora file: dispatchers = & apos; (PROTOCOL = TCP) (SERVICE = XDB) & apos; Use sys to access sqlplus, stop the oracle server, and run: create spfile from pfile; startup is the above operation in linux. If it is relatively simple in windows, directly edit the init under oracle \ admin \ SID \ pfile. ora, remove the corresponding row, and restart oracle. Three methods to modify the port number are provided: 1. dbca, select your Database, and then select Standard Database Features-> Customize-> Oracle xml db option. You should know how to change this screen. 2. OEM console, modify in XML Database Configuration 3. use the packages provided by oracle: -- change the HTTP/WEBDAV port from 8080 to 8081 SQL> call dbms_xdb.cfg_update (updateXML (dbms_xdb.cfg_get (), '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text ()', 8081 )) /-- change the FTP port from 2100 to 2111 SQL> call dbms_xdb.cfg_update (updateXML (dbms_xdb.get _get (), '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text ()', 2111)/SQL> commit; SQL> exec dbms_xdb.__refresh; -- check whether the modification is successful. SQL> select dbms_xdb.get _get from dual;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.