People who have installed Tomcat and Oracle locally may know that after installing Oracle, they will find that Tomcat port 8080 is occupied by Oracle.
After the Oracle database is fully installed, an XDB window will pop up when we access port 8080, requiring the user name and password to be entered. This will conflict with some local applications that use this port, such as Tomcat and JBoss. Although these ports can be modified, Oracle always occupies this port.
In fact, an XML Database Service in Oracle occupies port 8080. There are several solutions:
Method 1: Use the sys account to log in as sysdba and use the following statement to change the port occupied by Oracle:
Oracle 9i: Call dbms_namespace.shell ('@ JIS/install/serverendp. ssh admin 8080 9090-register ');
Oracle 10g: Call dbms_xdb.cfg_update (updatexml (dbms_xdb.get _get (), '/xdbconfig/sysconfig/protocolconfig/httpconfig/HTTP-Port/text ()', 9090 ));
Note: The preceding statement changes the Oracle XML database port to 9090. You can change it to another idle port. Run the preceding command to Log On As sysdba.
Method 2:
You can select database configuration Assistant in the Oracle group under the Start menu to change the default port of the xdm service to 8081, for example.