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