Changing or shutting down the FTP and HTTP ports of Oracle XDB

Source: Internet
Author: User
Tags commit ftp modify
Oracle
Oracle 9i The Xdb attribute is included by default when the database is created. Once the HTTP service that started the database and Listener,oracle Xdb takes up port 8080 and just conflicts with default ports such as JBoss and Tomcat, the port settings for Oracle Xdb are not in the configuration file, but in the database. There are 3 ways to modify the HTTP and FTP service ports for XDB:

1. Use SYS to login Oracle and modify port settings with Dbms_xdb

Sql>--Change the Http/webdav port from 8080 to 8081
Sql> Call Dbms_xdb.cfg_update (Updatexml (
2 Dbms_xdb.cfg_get ()
3, '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text () '
4, 8081))
5/

Call completed.

Sql>--Change the FTP port from 2100 to 2111
Sql> Call Dbms_xdb.cfg_update (Updatexml (
2 Dbms_xdb.cfg_get ()
3, '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text () '
4, 2111))
5/

Call completed.

Sql> COMMIT;

Commit complete.

Sql> EXEC Dbms_xdb.cfg_refresh;

Pl/sql procedure successfully completed.


2. Use OEM console, select Database, XML database,configuration, and change the xdb settings.

3, remove the initialization parameters of the database:

Dispatchers= ' (protocol=tcp) (SERVICE=XDB) ' will prohibit XDB HTTP and FTP services.


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.