In order to accept incoming requests, Tomcat uses a Thread pool. You can configure two types of Thread Pools: Shared Pool and Dedicated Pool . A Shared pool as the name inplies, can be shared among various components in Tomcat. So, for example if you have three connectors in your configuration, then you can use a single shared pool to serve requests for all of them. Here is how to configure a shared thread pool: Open Tomcat's server.xml file and include the Executor definition: namePrefix="catalina-exec-" maxThreads="150" minSpareThreads="4"/> Once you have added the shared thread pool, you need to reference it in your Connector configuration as follows: namePrefix="catalina-exec-" maxThreads="200" minSpareThreads="4"/> A Dedicated thread pool is a thread pool which is dedicated to only one connector definition. You can use it in a scenario when you are expecting a peak of connections and y
This blog is a friendly place where you can learn about tomcat configuration, tomcat tips and more....