Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7629677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:53:46+00:00 2026-05-31T05:53:46+00:00

I really don’t consider myself a java or tomcat expert. I have a vps

  • 0

I really don’t consider myself a java or tomcat expert. I have a vps with tomcat running on it. In the tomcat.conf file there is the following.

Notice that the Excecutor 'tomcatThreadPool' and corresponding Connector referencing that Executor is commented out.

At the risk of sounding very stupid…I’m going to ask this question…

With the Executor and Connector commented out, how are my servlets functioning? In other words, are they using a default thread pool? Or should I uncomment the Executor and Connector for servlet efficiency?

I guess I’m not very knowledgeable in this area at all….

<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-" 
    maxThreads="150" minSpareThreads="4"/>
-->

<Connector port="8080" protocol="HTTP/1.1" 
           connectionTimeout="20000" 
           redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
           port="8080" protocol="HTTP/1.1" 
           connectionTimeout="20000" 
           redirectPort="8443" />
-->
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:53:48+00:00Added an answer on May 31, 2026 at 5:53 am

    The Tomcat documentation of Executor says (emphasis is mine):

    The Executor represents a thread pool that can be shared between
    components in Tomcat. Historically there has been a thread pool per
    connector created but this allows you to share a thread pool, between
    (primarly) connector but also other components when those get
    configured to support executors

    So, you don’t have to uncomment anything for Tomcat to work efficently, the Executor is for special needs as using more than one executor or using some thread pool yourself.

    The referenced tomcat page is in the first results if you google “Tomcat Executor“, by the way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I really don't want to have to reinvent the wheel with this one. There
I really don't know, what the Problem is? I get the following error: File
I really don't understand regular expressions and was wondering what the following regular expressions
I really don't understand this. I have a simple ASP with 3 div in
As a developer I really don't like writing documentation but when I have to
I'm stuck on a problem I really don't know how to solve: I have
I really don't know/have the answer, knowledge to find a resource value using a
I have this json object (which i don't really know what is inside) and
I really don't understand why do we need to create channel.html file, as mentioned
I really don't see a sane use for these. There is already rescue and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.