ITeye博客

tomcat6配置中的一个错误,警告: [SetPropertiesRule],Context

leaderbird · 2011-07-15 14:58 · tomcat · 行业应用 · Markdown

tomcat6配置中的一个错误,警告: [SetPropertiesRule],Context XMLTomcatServlet.在tomcat6启动的时候发现一个错误:

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property '
debug' to '0' did not find a matching property.

跟踪后发现是连接池的配置问题:

conf/server.xml中

Xml代码 
1.<Context path="/n" docBase="E:\aWorkingCopy\ndaoti\war" debug="0" reloadable="true" crossContext="false">   
<Context path="/n" docBase="E:\aWorkingCopy\ndaoti\war" debug="0" reloadable="true" crossContext="false"> 

 把debug="0"去除即可。

分析:tomcat的6.0.16这个版本中可能用别的属性替代了debug功能。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。