Solved

what is the meaning of connectionTimeout?

Posted on 2007-11-23
2
4,807 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now