1. [代码]server.xml
1 <Server port="9005" shutdown="SHUTDOWN"> 2 <Service name="Catalina"> 3 <Executor name="tomcatThreadPool" namePrefix="HTTP-9081-exec-" 4 maxThreads="200" minSpareThreads="10" maxIdleTime="60000"/> 5 <!-- 6 <Connector port="9082" protocol="org.apache.coyote.http11.Http11NioProtocol" 7 connectionTimeout="20000" executor="tomcatThreadPool" 8 redirectPort="8443" acceptorThreadCount="4"/> 9 --> 10 <Connector port="9081" protocol="HTTP/1.1" 11 connectionTimeout="20000" 12 redirectPort="8443" executor="tomcatThreadPool"/> 13 <Engine name="Catalina" defaultHost="localhost"> 14 <Host name="localhost" appBase="webapps" 15 unpackWARs="false" autoDeploy="false" 16 xmlValidation="false" xmlNamespaceAware="false"> 17 <Context path="" docBase="/data/oschina/webapp" reloadable="false"/> 18 </Host> 19 </Engine> 20 </Service> 21 </Server>
复制去Google翻译翻译结果
时间: 2024-11-07 13:01:03