1. 程式人生 > >Tomcat:基礎安裝和使用教程 目錄

Tomcat:基礎安裝和使用教程 目錄

1 <Service name="Catalina"> 2 3 <!--The connectors can use a shared executor, you can define one or more named thread pools--> 4 <!-- 5 <Executor name="tomcatThreadPool" namePrefix="catalina-exec-" 6 maxThreads="150" minSpareThreads="4"/> 7 -->
8 9 10 <!-- A "Connector" represents an endpoint by which requests are received 11 and responses are returned. Documentation at : 12 Java HTTP Connector: /docs/config/http.html (blocking & non-blocking) 13 Java AJP Connector: /docs/config/ajp.html 14 APR (HTTP/AJP) Connector: /docs/apr.html
15 Define a non-SSL HTTP/1.1 Connector on port 8080 16 --> 17 <Connector port="8200" protocol="HTTP/1.1" 18 connectionTimeout="20000" 19 redirectPort="8443" />