In my conf/server.xml, I have an executor and two connectors set up something like this:
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-" maxThreads="200" minSpareThreads="50"/> <Connector port="8686" protocol="HTTP/1.1" connectionTimeout="20000" maxThreads="250" executor="tomcatThreadPool" redirectPort="8643" compression="on" compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css,image/png,image/jpeg,image/gif" /> <Connector port="8643" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="250" executor="tomcatThreadPool" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" compression="on" compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css,image/png,image/jpeg,image/gif" /> My intention is to have the two connectors share a thread pool with a maximum thread count of 200, and minSpareThreads of 50. When I check the server info in Tomcat Manager, the max thread count for each connector is reported as 250 (the value of maxThreads in each <Connector> element, which I expect to be ignored because 'executor' is present) and not 200. When using a shared thread pool, should I expect the Manager to report the incorrect amount of max threads per connector, or is something wrong with my configuration? Will the Manager report on the size/limits of the shared thread pool? Thanks Matt