Tomcat 7 maxSpareThreads, liveDeploy, debug

January 20, 2011 8:27:50 org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule] {Server / Service / Connector} The value of the "maxSpareThreads" property before "75" did not detect a matching property.

January 20, 2011 8:27:50 org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule] {Server / Service / Engine / Host} The value of the 'liveDeploy' property for 'false' did not find a suitable property. January 20, 2011 8:27:50 org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule] {Server / Service / Engine / Host / Context} Property value "debug" to "0" not found suitable properties.

this problem occurs when i start tomcat 7.

why these warnings are sent .i checked, this is due to server.xml, the file is old (tomcat5.5). but I want to know what are the alternatives in tomcat 7. should I remove these options from server.xml. This is a good decision.

+3
source share
1 answer

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

+8
source

Source: https://habr.com/ru/post/1786866/


All Articles