Tomcat vs. Oracle 8080 Port conflict

Source: Internet
Author: User

http://blog.csdn.net/baidu_24256693/article/details/44863935

Because both Tomcat and Oracle are installed on the computer, 8080 of the ports are conflicting.

There are many articles on the web that introduce the modification of the Tomcat port, probably the 8080 port in the server.xml.

Change to an idle port. Follow the online steps to find a visit to the JSP page in Myclipse

The previously modified server.xml is automatically restored, and the problem is not resolved.

A better approach is to modify the port of Oracle:

First log in to the database with SYS

SYS user has sysdba,sysoper permissions, login can only be logged in with these two identities, cannot log in as normal.

Oracle is the most privileged user;
System can only be normal login, unless he is granted sysdba,sysoper rights;


or System/password

So the correct format is: Conn Sys/password as Sysdba
User login with Sys must be added as SYSDBA



      1. After logging in, enter the following command:
      2. SQL code
      3. 1.call dbms_xdb.cfg_update (Updatexml (Dbms_xdb.cfg_get (),'/xdbconfig/sysconfig/protocolconfig/httpconfig/       Http-port/text () ',8081));
      4. Where 8081 is the modified port and can be arbitrary.
      5. This way you won't be able to conflict with Tomcat's default port for easy development.
      6. The FTP service occupies 2100 ports and the Change command is:
      7. SQL code
      8. 1.call dbms_xdb.cfg_update (Updatexml (Dbms_xdb.cfg_get (), '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ Ftp-port/text () ', 2111);

Tomcat vs. Oracle 8080 Port conflict

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.