Default headers of Oracle 8080 and tomcat conflict

Source: Internet
Author: User

 

Modify the port 8080 of Oracle

Use sys to log on to Oracle and use dbms_xdb to modify port settings
SQL> call dbms_xdb.cfg_update (updatexml (
2 dbms_xdb.mongo_get ()
3, '/xdbconfig/sysconfig/protocolconfig/httpconfig/HTTP-Port/text ()'
(4, 8081 ))
5/
After running, the message "call completed." is displayed.
Next
SQL> commit;
Tip: commit complete.
SQL> exec dbms_xdb.mongo_refresh;

Use the Enterprise Manager Console, select database-XML database-configuration, and change the default value of HTTP-port to 8081. ---------------------------------------------------------------- After the Oracle database is 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.

Oracle databases can use TCP to connect through port 8080, so port 8080 is occupied.
To cancel the occupation, open the spfile [SID Name]. ora file in the database directory under the Oracle installation directory to modify it. This file is the Oracle STARTUP configuration file.
Remove the line *. dispatchers = '(Protocol = TCP) (Service = or9ixdb.
Restart the computer, or restart the oracleservice [SID Name] service in the service. After restart, you may not be able to use the Enterprise Manager Console to connect to other clients. In this case, use the configuration and migration tools/NET configuration assistant tool of Oracle to delete the listener, create a new listener, and restart the listener.
Use configuration and migration tools/net manager to delete the service name and create a new one.

Now oracle can be used normally, and 8080 won't be used.

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.