File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Persistent Connection in Tomcat 4.x Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Persistent Connection in Tomcat 4.x" Watch "Persistent Connection in Tomcat 4.x" New topic

Persistent Connection in Tomcat 4.x

fei long
Ranch Hand

Joined: Apr 04, 2002
Posts: 48
Hi, I have a question about how Tomcat supports persistenct connection (by default in HTTP/1.1). My understanding about persistency related configurations is:
1. Has ability to configure how many persistent connections a container supports. (sth like persistent connection pool size)
2. Can specify timout value for one persistent connection link. (how long does client/server maintain before terminates one persistent connection)

Does Tomcat offer any configuration parameters for persistent connection, like what I metioned above?

Someone says "connectionTimeout" in server.xml is for that purpose, but I think that is the timeout value for one request. (one persistent connection can processes multiple requests)

<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>

Any comments/thoughts are appreciated :thumb:
I agree. Here's the link:
subject: Persistent Connection in Tomcat 4.x
jQuery in Action, 3rd edition