gpt4 book ai didi

tomcat7 - Tomcat 7 maxSpareThreads ,liveDeploy ,调试

转载 作者:行者123 更新时间:2023-12-04 17:58:02 25 4
gpt4 key购买 nike

启动Tomcat 7时报如下警告:

Jan 20, 2011 8:27:50 PM org.apache.catalina.startup.SetAllPropertiesRule beginWARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '75' did not find a matching property.

Jan 20, 2011 8:27:50 PM org.apache.tomcat.util.digester.SetPropertiesRule beginWARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'liveDeploy' to 'false' did not find a matching property.

Jan 20, 2011 8:27:50 PM org.apache.tomcat.util.digester.SetPropertiesRule beginWARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.


为什么要报告这些警告?提到的属性在 server.xml 中指定文件,该文件是为 Tomcat 5.5 创建的。
我想知道 Tomcat 7 中的替代方案是什么。我应该从 server.xml 中删除这些参数还是有更好的解决方案?

最佳答案

在 tomcat 6 中删除了 maxSpareThreads 配置参数,因此它不再有效/适用。请参阅有关配置元素的 tomcat 5 文档页面:http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
(存在 maxSpareThreads),
并且在相应的 tomcat 6 文档页面中不存在。

关于tomcat7 - Tomcat 7 maxSpareThreads ,liveDeploy ,调试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4756918/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com