1 Download
https://tomcat.apache.org/download-90.cgi
Unzip to D: \ apache-tomcat-9.0.12
2 Environment Variables
CATALINA_HOME= D:\apache-tomcat-9.0.12
Path increase % CATALINA_HOME% \ bin
3 Configuration
Edit startup.bat
Edit catalina.sh
-server –Xms
Edit server.xml
-maxThreads
-protocal set one of three modes BIO (blocking), the NIO (non-blocking), the APR ( the Apache Portable the Runtime )
Edit catalina.properties
4 Start
Run startup.bat
5 Version Comparison
Servlet Specification |
JSP specification |
EL Specifications |
WebSocket specification |
JASPIC Specifications |
Tomcat version |
Supported version of Java |
4.0 |
TBD(2.4?) |
TBD(3.1?) |
TBD(1.2?) |
1.1 |
9.0.x |
8 and beyond |
3.1 |
2.3 |
3.0 |
1.1 |
1.1 |
8.5.x |
7 and beyond |
3.1 |
2.3 |
3.0 |
1.1 |
N / A |
8.0.x (have replaced) |
7 and beyond |
3.0 |
2.2 |
2.2 |
1.1 |
N / A |
7.0.x |
6 and higher (7 and later WebSocket) |
2.5 |
2.1 |
2.1 |
N / A |
N / A |
6.0.x |
After 5 |
2.4 |
2.0 |
N / A |
N / A |
N / A |
5.5.x (Archive) |
1.4 and later |
2.3 |
1.2 |
N / A |
N / A |
N / A |
4.1.x (Archive) |
1.3 and later |
2.2 |
1.1 |
N / A |
N / A |
N / A |
3.3.x (Archive) |
1.1 and later |