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 6890145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:14:42+00:00 2026-05-27T06:14:42+00:00

I am writing an upgrade script which would take Tomcat’s server.xml and add an

  • 0

I am writing an upgrade script which would take Tomcat’s server.xml and add an extra attribute to the each Connector node. This, however, needs to be done only for HTTP connectors but not others (e.g. AJP).

Looking at my Tomcat configuration, the only obvious different thing is the Connector protocol (e.g. HTTP/1.1 or AJP/1.3), but looking at the documentation I can see that there are different default values for the protocol attribute – for both AJP and HTTP connectors. This must mean that if you omit the protocol, Tomcat will somehow figure it out, based on the type of the Connector.

So how do I identify which connectors are HTTP? How does Tomcat do it?

  • 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-27T06:14:42+00:00Added an answer on May 27, 2026 at 6:14 am

    Maybe this article will be of value to you:
    http://www.datadisk.co.uk/html_docs/java_app/tomcat6/tomcat6_http_connectors.htm

    To sum it up for you:

    ‘The Java-based HTTP/1.1 Connector is the default connector configured
    in Tomcat…’

    However, i believe in newer versions of Tomcat (6+), it will try to locate the APR libraries that will ensure better performance and will try to default to the HTTPApr connector:

    http://tomcat.apache.org/tomcat-7.0-doc/apr.html

    ‘Once the libraries are properly installed and available to Java (if
    loading fails, the library path will be displayed), the Tomcat
    connectors will automatically use APR’

    Hope that helps.

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

Sidebar

Related Questions

I am writing a DB upgrade script that will check to see if an
I am writing a schema upgrade script for a product that depends on an
I'm writing a new major upgrade of our product. In my installer I start
I'm writing a Django 1.3 view method which requires TLS/SSL to be used. I
I would like to upgrade an existing storage subsystem with enterprise level SSDs. However,
I'm writing an MSBuild task to upgrade a database (full source here ) and
I am writing a bash script (for apt-get based OS's) that automates the installations
I'm writing a set of tool in python to extract data from some xml
I am writing a batch file to upgrade some systems. I need to parse
I have a need to upgrade a Perl CGI script where the users must

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.