Solved

what is the meaning of connectionTimeout?

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

17 Experts available now in Live!

Get 1:1 Help Now