tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38485] New: - connectionTimeout parameter ignored on HTTP Connector
Date Wed, 01 Feb 2006 22:16:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38485>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38485

           Summary: connectionTimeout parameter ignored on HTTP Connector
           Product: Tomcat 5
           Version: 5.5.14
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:HTTP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: gsexton@mhsoftware.com


The HTTP Connector on 5.5.15 appears to ignore the connectionTimeout parameter.
Connection s timeout after 60 seconds, regardless of the configured setting.
Here's a sample configurtion:

<Server port="8005" shutdown="SHUTDOWN">
<Service name="Catalina">
<Connector port="8080" connectionTimeout="10000" />
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps">
<Valve className="org.apache.catalina.valves.AccessLogValve"
     prefix="localhost_access_log." suffix=".txt"
     pattern="common"/>
<Logger className="org.apache.catalina.logger.FileLogger"
        directory="logs"  prefix="localhost_log." suffix=".txt"
        timestamp="true"/>
</Host>
</Engine>
</Service>
</Server>

Running that configuration on a WinXP machine with JDK 1.5.0_06.

If I telnet to the machine, on the connector port, it times out after one minute.


gsexton@reddwarf> time telnet emp00 8080
Trying 192.168.0.254...
Connected to emp00.
Escape character is '^]'.
Connection closed by foreign host.

real    1m0.568s
user    0m0.016s
sys     0m0.008s


I noticed this because I was looking at the manager application on my server,
and I noticed it was taking KeepAlive (State K) threads 60 seconds to revert to
Ready (R).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message