It was not successful today to encounter Tomcat manual start, but in eclipse it can be started successfully. I always start to think that the port is occupied, and finally found that this is the case. First of all, my Tomcat is a setup version. Install-free Tomcat after double-clicking Startup.bat, the Startup window flashes and the Tomcat service does not start. The reason for this: In the start Tomcat is, you need to read environment variables and configuration information, the lack of this information can not register environment variables, resulting in Tomcat's flash-back.
Solution:
1: Locate Startup.bat under the Unpacked Tomcat Bin folder, right-click-> Edit. Add the following two lines to the file header:
SET java_home=d:\java\jdk1.7 (JAVA jdk directory)
SET tomcat_home=e:\tomcat-7.0 (The extracted TOMCAT file directory)
2. Locate Shutdown.bat under the Unpacked Tomcat Bin folder, right-click-> Edit. Add the following two lines to the file header:
SET java_home=d:\java\jdk1.7 (JAVA jdk directory)
SET tomcat_home=e:\tomcat-7.0 (The extracted TOMCAT file directory) can finally start up normally, the first step is to see if the port is occupied, and then look at it is not the above reason.