<Executor name="tomcatThreadPool" namePrefix="catalina-exec-test"
maxThreads="150" minSpareThreads="5"/>
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000"
redirectPort="8443" executor="tomcatThreadPool" />
minSpareThreads: 该Connector先创建5个线程等待客户请求,每个请求由一个线程负责
maxThreads最多创建150个线程
Jconcole远程连接Tomcat
%JAVA_HOME%\bin\ jconsole.exe 可以看到有5个线程一直存在。