tomcat 装配APR

tomcat 安装APRTomcat 的一个可选组件是APR(Apache Portable Runtime), 这个工程组件在tomcat中的使用增进

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