APR是什么呢,(Tomcat can use the Apache Portable Runtime to provide superior scalability, performance, and better integration with native server technologies. )
Windows下的安装配置与使用
1、先去 http://tomcat.heanet.ie/native/ 下载编译好的 tcnative-1.dll 文件
2、把tcnative-1.dll文件放在Tomcat的bin目录下
然后启动TOMCAT,如果看到以下信息:
2008-8-31 17:28:59 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2008-8-31 17:28:59 org.apache.coyote.ajp.AjpAprProtocol start]则配置成功
然后你可以用APACHE的AB命令测试下效果.
ab -n 1000 -c 300 http://localhost:8080/turbine/index.jsp