As we all know, Tomcat is divided into the installation and decompression versions, the following uses the Tomcat installation version as an example to describe that you must confirm whether JDK has been installed at before installing your own Tomcat. ② whether JAVA_HOME has been successfully configured. It must be noted that this JAVA_HOME is jdk's remove the bin directory from the PATH property value (for example, My PATHD: \ ProgramFi
As we all know,McAt is divided into the installation version andExtractVersion.CatInstall Version as an Example
Before installing your Tomcat, you must confirm that
① Whether JDK has been installed
② Whether JAVA_HOME is successfully configured
It must be noted that this JAVA_HOME is the jdk PATH attribute value to remove the bin directory (
For example, my PATH = D: \ Program Files \ Java \ jdk1.6.0 _ 18 \ bin
So JAVA_HOME = D: \ Program Files \ Java \ jdk1.6.0 _ 18)
Sometimes port 8080 is not necessarily good, because port 8080 may be occupied by the IIS server or ORACLE, so you have
Find the server. xml file in the conf folder under the main directory
EnableLookups = "fa LsE "r EdIrectPort = "8443" acceptCount = "100"
Debug = "0" connectionTimeout = "20000"
DisableUploadTimeout =" TrUe "/>
After you change port 8080, restart the Tomcat server.