Solved

what is the meaning of connectionTimeout?

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 65
instanceof  operator in java 26 95
Cpanel file manager 8 39
Apache LDAP Authentication 20 24
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…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 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