Tomcat 建议解压到分区的根目录下并重命名为Tomcat,中间避免出现空格(某些程序对空格处理的不够好,容易出现空格被转换为%20的问题),修改 ${catalina_home}/conf/server.xml:
1)打开Executor结点的注释,并增大线程数量
<Executor
name="tomcatThreadPool"
namePrefix="catalina-exec-"
maxThreads="100"
minSpareThreads="100"/>
2)修改Connector结点,增加URIEncoding="utf-8"属性使所有http get请求默认使用utf-8方式解码,并增加executor="tomcatThreadPool"属性,使之前线程数量修改生效
<Connector
executor="tomcatThreadPool"
port="8080"
protocol="HTTP/1.1"
acceptCount="5000"
connectionTimeout="60000"
redirectPort="8443"
URIEncoding="utf-8"
enableLookups="false"
disableUploadTimeout="true"
maxHttpHeaderSize="8192"
useBodyEncodingForURI="true"/>
3)在${catalina_home}新建bak目录,把${catalina_home}\webapps中的文件全部复制到${catalina_home}\bak目录下