tomcat 的线程池配置,字符编码设置


优化tomcat配置  ,修改原先的配置

conf/server.xml 配置

  1. <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"   
  2.        maxThreads="500" minSpareThreads="20" maxIdleTime="60000" /> 
  3.     <Connector executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1"  
  4.                connectionTimeout="20000"  
  5.  keepAliveTimeout="15000"  
  6.                redirectPort="8443"  
  7.   URIEncoding="utf-8" 
  8. /> 


posted on 2017-03-23 09:33  signheart  阅读(606)  评论(0编辑  收藏  举报

导航