Solved

what is the meaning of connectionTimeout?

Posted on 2007-11-23
2
4,851 Views
Last Modified: 2013-12-02
For the Tomcat AJP connector configuration

      <Connector port="8009" address="${jboss.bind.address}"
         emptySessionPath="true" enableLookups="false" redirectPort="8443"
         maxThreads="100" connectionTimeout="2000"
         protocol="AJP/1.3"/>

What is the exact meaning/interpretation of connectionTimeout parameter.
The documentation says "The number of milliseconds this Connector will wait, after accepting a connection, for the request URI line to be presented." But not able to understand the interpretation of "for the request URI line to be presented" term.

Does it mean "until the first packet is sent out of the response" or something more specific. Or it is a CPing/Cpong request/response ack.
0
Comment
Question by:atulksh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 125 total points
ID: 20341578
no its the first packet of the request.
if it does not recieve the request after connectionTimeout seconds after connection made then connection is timed out.
0
 

Author Comment

by:atulksh
ID: 20351528
Hmmm. So basically it is related to mod_jk being able to communicate with Tomcat swiftly and has nothing to do with the time it would take Tomcat to process and serve the request. Yeah it does make sense since it is the connectionTimeout parameter on the Tomcat side. Mod_jk has a similar parameter on it's side for connection with Tomcat.

Thanks for the quick clarification.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question