Solution to Oracle port 8080 occupation

Source: Internet
Author: User

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.

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.