Tomcat性能调优, 启动出现警告问题 [minSpareThreads did not find a matching property.]
来源:互联网 发布:c语言大括号的用法 编辑:程序博客网 时间:2024/05/21 00:56
解决方案:
<Connector port="80" protocol="HTTP/1.1" minSpareThreads="25" maxSpareThreads="75"
改成:
<Connector port="80" protocol="org.apache.coyote.http11.Http11Protocol" minSpareThreads="25" maxSpareThreads="75"
protocol 协议要写全。
解释
在配置tomcat的SSL双向握手中,由于6.0.36版本中默认启用了APR(APR是通过JNI访问的可移植库,可以提高Tomcat的性能和伸缩性),所以采用传统的配置方式会报异常;
辨别Tomcat是否采用APR:
启动Tomcat时,如果采用APR,日志中会有如下信息:
<Connector port="80" protocol="HTTP/1.1" minSpareThreads="25" maxSpareThreads="75"
改成:
<Connector port="80" protocol="org.apache.coyote.http11.Http11Protocol" minSpareThreads="25" maxSpareThreads="75"
protocol 协议要写全。
解释
在配置tomcat的SSL双向握手中,由于6.0.36版本中默认启用了APR(APR是通过JNI访问的可移植库,可以提高Tomcat的性能和伸缩性),所以采用传统的配置方式会报异常;
辨别Tomcat是否采用APR:
启动Tomcat时,如果采用APR,日志中会有如下信息:
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
0 0
- Tomcat性能调优, 启动出现警告问题 [minSpareThreads did not find a matching property.]
- Tomcat性能调优后, 启动出现警告问题 [did not find a matching property.]
- 启动tomcat后出现红色 警告:did not find a matching property
- eclipse下tomcat出现did not find a matching property
- eclipse下tomcat出现did not find a matching property.
- Setting property 'minSpareThreads' to '25' did not find a matching property.
- Setting property 'minSpareThreads' to '25' did not find a matching property.
- eclipse启动tomcat出现警告:Setting property 'source' to 'org.eclipse.jst.jee.server:工程名' did not find a matching property
- 配置HTTPS时启动tomcat出现did not find a matching property错解决方法
- eclipse启动tomcat时控制台出现类似“did not find a matching property”错误
- tomcat启动报警告错误:Setting property 'maxTheads' to '125' did not find a matching property.
- 启动tomcat报错:Setting property 'source' to ' ' did not find a matching property
- did not find a matching property (tomcat+Eclipse 报错)
- Tomcat 7下SSL配置出现异常: '/root/.keystore' did not find a matching property
- tomcat警告setting property 'debug' to '0' did not find a matching property
- tomcat警告setting property 'debug' to '0' did not find a matching property
- tomcat警告setting property 'debug' to '0' did not find a matching property
- tomcat警告setting property 'debug' to '0' did not find a matching property
- 感受野(receptive field)
- JavaScript实用代码
- js typeof 变量名 类型 instanceof Object 区别
- 安卓设备开机默认最大音量
- 设计模式之模板模式
- Tomcat性能调优, 启动出现警告问题 [minSpareThreads did not find a matching property.]
- 第十六章 什么是例行性工作排程(定时任务)
- 数组素数排序(作业)
- Java时间转换格式大全
- jQuery源码初探(1)
- 第十六章 仅运行一次的工作排程(at)
- svn图标会存在延迟怎么办?还有不出现图标怎么办?
- Caffe GNU error
- 日志分片工具cronolog