What's the issue?
Warning logs
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'minSpareThreads' to '25' did not find a matching property.
May 4, 2010 11:33:04 AM org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '75' did not find a matching property.
What's the root cause?
If you compare the HTTP connector configuration parameters described in
Tomcat 5.5 and Tomcat 6.0 documentation, you'll see that those two
parameters do exist in 5.5 documentation, but not in 6.0 documentation:
What's the solution?
In tomcat 6 you need to specify an executor to define minSpareThreads
and maxSpareThreads (altough this isn't required, IIRC/AFAIK)
(search
for executor)
http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html
阅读(2149) | 评论(0) | 转发(0) |