Link to home
Start Free TrialLog in
Avatar of atulksh
atulksh

asked on

what is the meaning of connectionTimeout?

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.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of atulksh
atulksh

ASKER

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.