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>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)