Oracle and Tomcat port conflict

xiaoxiao2021-03-06  57

Today, the Oracle 9i results are newly installed to start Tomcat. HTTP: // localhost: 8080 is Oracle's related pages, management tool - the HTTP service turned off the Oracle in the service and then start Tomcat, it seems that the port has conflict. Check it out, change the Tomcat port is easy, open d: /tomcat5/conf/server.xml to find this Change port = "8080" to the port you need, such as port = "8081" is OK

Oracle also has a change method, but it will not be used for Oracle, no test

Changing or closing the FTP and HTTP port Oracle 9i of Oracle XDB, the XDB feature is included when creating a database. Once the database and Listener, Oracle XDB's HTTP service occupies 8080 ports, just and JBoss, Tomcat, etc. conflict. Therefore, there must be a change. Change Tomcat and so on, just don't know how to change the XDB configuration for a while. Search on Google and find the answer. The original Oracle XDB port setting is not in the configuration file, but in the database. There are three ways to modify the XDB HTTP and FTP service ports:

1. Use sys to log in to Oracle, use dbms_xdb to modify port settings

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. Using OEM Console, select Database, XML Database, Configuration. Change the settings for XDB.

3. Remove the initialization parameters of the database: dispatchers = '(service = TCP) (Service = XDB)' will disable the XDB HTTP and FTP services.

转载请注明原文地址:https://www.9cbs.com/read-113023.html

New Post(0)