server.xml配置文件如下
复制代码代码如下:
<Server port="9005" shutdown="SHUTDOWN">
<Service name="Catalina">
<Executor name="tomcatThreadPool"
maxThreads="500" minSpareThreads="10" maxIdleTime="600000"/>
<Connector port="80" protocol="org.apache.coyote.http11.Http11NioProtocol"
connectionTimeout="20000" executor="tomcatThreadPool" acceptorThreadCount="4"
redirectPort="8443" />
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps" unpackWARs="false" autoDeploy="false">
<Context path="" docBase="D:/WORKDIR/oschina/webapp" reloadable="false" sessionCookiePath="/" sessionCookieName="OSCHINA_SESSION"/>
</Host>
</Engine>
</Service>
新闻热点
疑难解答
图片精选