Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 37635 invoked from network); 29 Jan 2009 09:23:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2009 09:23:10 -0000 Received: (qmail 78890 invoked by uid 500); 29 Jan 2009 09:23:03 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 78831 invoked by uid 500); 29 Jan 2009 09:23:03 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 78820 invoked by uid 99); 29 Jan 2009 09:23:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 01:23:03 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 09:23:02 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 611D1234C495; Thu, 29 Jan 2009 01:22:42 -0800 (PST) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: DO NOT REPLY [Bug 46623] New: Tomcat/IIS closes socket after http response has completed X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat Connectors X-Bugzilla-Component: isapi X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: kpectbi@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 29 Jan 2009 01:22:42 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46623 Summary: Tomcat/IIS closes socket after http response has completed Product: Tomcat Connectors Version: 1.2.27 Platform: PC OS/Version: Windows Server 2003 Status: NEW Severity: major Priority: P2 Component: isapi AssignedTo: dev@tomcat.apache.org ReportedBy: kpectbi@gmail.com Created an attachment (id=23189) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23189) WireShark response description, when connecting directly to JBoss and via IIS I am using JBoss 4.0.2, which has Tomcat Servlet Container 5.5. I also have IIS 6.0 redirected to this JBoss. (via IIS tomcat connector, which is used as ISAPI filter in IIS). All is working OK, configured the workers as described in documentation. Here is a piece of workers.properties file of the connector: worker.jboss0_ajp13.port=8009 worker.jboss0_ajp13.type=ajp13 worker.jboss0_ajp13.host=localhost worker.jboss0_ajp13.socket_keepalive=1 worker.jboss0_ajp13.socket_timeout=300 But when connecting to the application via IIS (port 80), for each completed HTTP response for HTTP request, the socket is closed (FIN is sent on the TCP layer and "Connection: close" is sent on the HTTP layer). This causes severe slowdowns, since the application is working over WAN. (for each closed socket, another one needed to be established, which takes 500ms). This is not happening when connecting to JBoss web server directly, and also not happening when connecting to a different virtual directory on the same WebSite of IIS (i.e. Keep-Alive in IIS is also configured). This happens with the latest version of tomcat IIS connector (1.2.27). Attaching WireShark description of the response w/wo IIS redirection. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org