Tomcat 7 maxSpareThreads ,liveDeploy ,调试 [英] Tomcat 7 maxSpareThreads ,liveDeploy ,debug

查看:53
本文介绍了Tomcat 7 maxSpareThreads ,liveDeploy ,调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我启动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.org/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.org/tomcat-5.5-doc/config/http.html (maxSpareThreads is present), and absent in the corresponding tomcat 6 documentation page.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆