读书人

tomcat 装配APR

发布时间: 2012-08-31 12:55:03 作者: rapoo

tomcat 安装APR
Tomcat 的一个可选组件是APR(Apache Portable Runtime), 这个工程组件在tomcat中的使用增进了稳定性和性能,特别是当tomcat也用于web服务器的时候. 在启动tomcat时, 我们可以在控制台上找到如下日志.

<Connector port="8080"   protocol="org.apache.coyote.http11.Http11AprProtocol"   macThreads="150"   connectionTimeout="20000"   redirectPort="8443"可配置的属性有:allowTraceemptySessionPathenableLookupsmaxPostSizemaxSavePostSizeprotocolproxyNameproxyPortredirectPortSSLEnabledschemesecureURIEncodinguseBodyEncodingForURIuseIPVHostsxpoweredByfirstReadTimeoutpoolTimepollerSizeuseSendfile 默认为truesendfileSize

读书人网 >软件架构设计

热点推荐