frequently asked questions about using Tomcat software
1) Flash back issue
Cause:The Tomcat software is developed in the Java language. when the Tomcat software starts, it will default to the system's environment variable to find a variable named Java_home. The role of this variable is to find the JVM required for Tomcat boot .
The solution; set the Java_home variable in the environment variable
Java_home= C:\Program files\java\jdk1.6.0_30 (note Do not configure to Bin directory )
2) Port-occupied error
Cause: the port required for Tomcat boot is occupied by other software!
Workaround:
A) Close other software programs and release the required ports
b) Modify the port required for the Tomcat software
Locate and modify the %tomcat%/conf/server.xml file
<connector port= "8081" protocol= "http/1.1" connectiontimeout= "20000" redirectport= "8443"/> |
3)Catalina environment variable problem
Cause:After the Tomcat software starts, in addition to looking for java_home, it will also look for a variable called catalina_home, the role of this variable is to set the root directory tomcat.
WORKAROUND: We recommend that you do not set the catalina_home variable. Check if there is, clear off!!!
Frequently asked questions about 1.Tomcat software use