Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 88990 invoked from network); 5 Jul 2004 10:57:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Jul 2004 10:57:19 -0000 Received: (qmail 92006 invoked by uid 500); 5 Jul 2004 10:57:03 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 91908 invoked by uid 500); 5 Jul 2004 10:57:01 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 91877 invoked by uid 99); 5 Jul 2004 10:57:01 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 05 Jul 2004 03:56:58 -0700 Received: (qmail 8087 invoked by uid 50); 5 Jul 2004 10:58:16 -0000 Date: 5 Jul 2004 10:58:16 -0000 Message-ID: <20040705105816.8086.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 29917] New: - Still/again POST data limit in JK2.0.4 ISAPI connector? X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=29917 Still/again POST data limit in JK2.0.4 ISAPI connector? Summary: Still/again POST data limit in JK2.0.4 ISAPI connector? Product: Tomcat 5 Version: 5.0.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: Critical Priority: Other Component: Native:JK AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: martin.schloeter@mb-interactive.de We have the effect, that data posted from a html form is truncated/corrupted dependend on size of data if we use Tomcat 5 together with IIS 5 connected via isapi_redirector2.dll version 2.0.4. The resulting effect is, that there is no server response (browser shows "Server not found" etc) OR the some fields of the form which are ordered behind the fields with large content are missing, arriving as null in the Tomcat request object. Direcly using Tomcat via port 8080 the effect does not occur, all's fine. The strange effect is, that this only happens within a specific range of data size. Up to around 53485 bytes of data all works fine. With some bytes more there is the crash. With a couple more of data - seems to be when all over size exceed something like 64k - all works fine again !?! The following simple JSP demonstrates this effekt when used on this configuration. There is a hidden field with a basic data amount of 50000 characters. Additional amount can be entered in text field. With 3485 characters a default (making 53485 chars payload) it's still working on my config. If you enter 3490 as additional amount there is the crash (sometimes you have to post twice). With 14000 chars additional data it works again on my config. The hidden field "hiddenField" is just do demonstrate that with some amounts of data the server will still be alive after post, but that data is missing (hard to reproduce). I took a look into the source of the ISAPI-DLL, but I'm not experienced enough on this terretory to fix it myself, sorry. Thanks in advance Martin Schlöter ---- JSP demonstration problem <%@page contentType="text/html"%> bigForm.jsp

bigForm.jsp

<% final int BASIC_AMOUNT = 50000; StringBuffer basicData = new StringBuffer(BASIC_AMOUNT); for(int i = 0; i < BASIC_AMOUNT; i++) { basicData.append('a'); } String additionalData = null; if("POST".equalsIgnoreCase(request.getMethod())) { String basicDataReceived = request.getParameter("basicData"); additionalData = request.getParameter("additionalData"); %>

Received <%=basicDataReceived.length()%> bytes for basic data field
Received <%=additionalData.length()%> bytes for additional data field
myHiddenField=<%=request.getParameter("myHiddenField")%>

<% } if(additionalData == null) additionalData = ""; %> Basic data amount = <%=BASIC_AMOUNT%> bytes
Additional data amount to send (bytes):
Data:

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