Oracle 9i contains the XDB feature by default when creating a database. Once the database and Listener are started, Oracle XDB starts the http service.
It is easy to disable the XDB service of oracle. just remove the initialization parameters of the corresponding database:
Edit the $ ORACLE_HOME/dbs/initSID. ora file and remove the following lines:
Dispatchers = '(PROTOCOL = TCP) (SERVICE = XDB )'
Restart Database
Shutdown immediate;
Create spfile from pfile;
Startup;
Modify the XDB service Port:
The http service of XDB occupies port 8080, which is in conflict with default ports such as JBoss and Tomcat. The port settings of Oracle XDB are not in the configuration file, but in the database. Modify the http and ftp service ports of XDB as follows:
Use sys to log on to sqlplus and 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.mongo_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.mongo_get ()
3, '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-Port/text ()'
(4, 2111 ))
5/
Call completed.
SQL> commit;
Commit complete.
SQL> exec dbms_xdb.mongo_refresh;
PL/SQL procedure successfully completed.