aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Persistent Connection in Tomcat 4.x" Watch "Persistent Connection in Tomcat 4.x" New topic
Author

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:
 
 
subject: Persistent Connection in Tomcat 4.x
 
Similar Threads
Reusing Apache-Tomcat connections
Apache Tomcat 6.0.16 a web server/ App server
understanding keepAliveTimeout timeout
java.lang.OutOfMemory Exception in Apache
setting connectionTimeout in Tomcat