Tomcat 7 maxSpareThreads ,liveDeploy ,调试

编程入门 行业动态 更新时间:2024-10-10 20:17:27
本文介绍了Tomcat 7 maxSpareThreads ,liveDeploy ,调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我启动Tomcat 7时报如下警告:

The following warnings are reported when I start Tomcat 7:

2011 年 1 月 20 日晚上 8:27:50 org.apache.catalina.startup.SetAllPropertiesRule 开始警告:[SetAllPropertiesRule]{Server/Service/Connector} 将属性maxSpareThreads"设置为75"未找到匹配的属性.

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

2011 年 1 月 20 日晚上 8:27:50 org.apache.tomcat.util.digester.SetPropertiesRule 开始警告:[SetPropertiesRule]{Server/Service/Engine/Host} 将属性liveDeploy"设置为false"未找到匹配的属性.

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

2011 年 1 月 20 日晚上 8:27:50 org.apache.tomcat.util.digester.SetPropertiesRule 开始警告:[SetPropertiesRule]{Server/Service/Engine/Host/Context} 将属性debug"设置为0"未找到匹配的属性.

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

为什么要报告这些警告?提到的属性在 server.xml 文件中指定,该文件是为 Tomcat 5.5 创建的.

Why are these warnings being reported? The properties mentioned are specified in the server.xml file, which was created for Tomcat 5.5.

我想知道 Tomcat 7 有哪些替代方案.我应该从 server.xml 中删除这些参数还是有更好的解决方案?

I want to know what are the alternatives in Tomcat 7. Should I just remove these parameters from server.xml or is there a better solution?

推荐答案

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

the maxSpareThreads configuration parameter was removed in tomcat 6, so it's no longer valid/applicable. see the tomcat 5 documentation pages for the configuration element in question: http://tomcat.apache/tomcat-5.5-doc/config/http.html (maxSpareThreads is present), and absent in the corresponding tomcat 6 documentation page.

这篇关于Tomcat 7 maxSpareThreads ,liveDeploy ,调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-30 03:28:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1388903.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Tomcat   maxSpareThreads   liveDeploy

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!