Environment: Ubuntu14.04 + Eclipse-ee + Tomcat7 problem: the Tomcat 7 is selected when the Server is created in Eclipse, and the Tomcat directory installed by yourself when the Server is selected during running. Then start the Server. leletomcat can be started normally in eclipse, but http: // localhost: 8080/cannot be accessed in the browser, and Error 404 is reported. Besides, Ecl
Environment:
Ubuntu 14.04 + Eclipse-ee + Tomcat7
Problem:
Tomcat 7 selected when the Server is created in Eclipse, and Tomcat directory installed by yourself when the Server is run. Then start the Server. leletomcat can be started normally in eclipse, but http: // localhost: 8080/cannot be accessed in the browser, and Error 404 is reported. In addition, Web projects in Eclipse cannot be accessed. If you manually start startup. bat in the tomcat installation directory, you can access the tomcat Management page by accessing htt: // localhost: 8080.
Cause analysis:
Because the "Server Locations" option is configured by default when you create a Server in Eclipse, that is, "Use workspace metadata (does not modify tomcat installation ), this means that the Server does not change the TOMCAT installation and deployment directory, but uses the TOMCAT configuration directory that comes with Eclipse. Therefore, after tomcat is started in Eclipse, the Web project will not be deployed and cannot be accessed.
Solution:
1. Stop Tomcat Server in Eclipse
2. Remove the project deployed on the Server
3. Right-click "Server Tomcat 7" (my server name is Server Tomcat 7) and select "clean"
4. Open "Server Tomcat 7" and select "Use Tomcat Installation" in the "Server Locations" option"
5. Start "Server Tomcat 7" in Eclipse to verify whether it is successful.
Apache Tomcat Security Manager Bypass Vulnerability (CVE-2014-7810) http://www.linuxidc.com/Linux/2015-05/117604.htm
RedHat Linux 5.5 install JDK + Tomcat and deploy Java project http://www.linuxidc.com/Linux/2015-02/113528.htm
Tomcat authoritative guide (second edition) (Chinese and English PDF + with bookmarks) http://www.linuxidc.com/Linux/2015-02/113062.htm
Tomcat secure configuration and performance optimization http://www.linuxidc.com/Linux/2015-02/113060.htm
Linux using Xshell view Tomcat real-time log Chinese garbled solution http://www.linuxidc.com/Linux/2015-01/112395.htm
CentOS 64-bit install JDK and Tomcat and set Tomcat boot operation steps http://www.linuxidc.com/Linux/2015-01/111485.htm
Install Tomcat http://www.linuxidc.com/Linux/2015-01/111415.htm in CentOS 6.5
Tomcat details: Click here
Tomcat: Click here
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-05/117850.htm