Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 39826 invoked from network); 6 Jun 2007 19:24:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2007 19:24:11 -0000 Received: (qmail 96945 invoked by uid 500); 6 Jun 2007 19:24:12 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 96884 invoked by uid 500); 6 Jun 2007 19:24:11 -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 96873 invoked by uid 500); 6 Jun 2007 19:24:11 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 96870 invoked by uid 99); 6 Jun 2007 19:24:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 12:24:11 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 12:24:07 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id BDEAD71418E; Wed, 6 Jun 2007 12:23:46 -0700 (PDT) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 42608] New: - Invalid Content-Length error for the binary file size greater than 2.1GB Message-ID: X-Bugzilla-Reason: AssignedTo Date: Wed, 6 Jun 2007 12:23:46 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org 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=42608 Summary: Invalid Content-Length error for the binary file size greater than 2.1GB Product: Tomcat 5 Version: 5.5.6 Platform: Other OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: Connector:AJP AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: ddang@dolphtech.com Apache-tomcat-5.5.16 version. Every time when I send 2GB binary data the apache-tomcat-5.5.16 is working fine. But when I tried to send 3GB binary data following error below: I did traced to the error code in HandlerRequest.decodeHeaders method called msg.getInt() this method is a problem because this method is returning an int instead of long. ant Integer is only handle 2.1GB limit but I am sending more than 3GB. Is there a way that you can fix this MessageBytes.getLong() instead of getInt()? I am looking for a solution to send more than 3GB data to apache-tomcat Many thanks in advance.. Here is an error below. [TP-Processor3] ERROR common.HandlerRequest - Error decoding request java.lang.NumberFormatException at org.apache.tomcat.util.buf.Ascii.parseInt(Ascii.java:145) at org.apache.tomcat.util.buf.ByteChunk.getInt(ByteChunk.java:521) at org.apache.tomcat.util.buf.MessageBytes.getInt(MessageBytes.java:688) at org.apache.jk.common.HandlerRequest.decodeHeaders(HandlerRequest.java:57 9) at org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:39 7) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:260) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java: 684) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket. java:876) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:684) at java.lang.Thread.run(Thread.java:619) thanks --Daniel -- 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