I have installed 6.0.14 now and the same problem persists. I am
starting to worry about our choice to use Java for this web application
project now... the client insisted that we used .NET framework or
'Microsoft' products if you will, but limitations arise. I just won't
be able to stand the 'we told you so' that is sure to happen if we can't
find a workaround with existing deployment options that allow huge
uploads. He never mentioned he wanted 2+ GB uploads anyways, but again
that's probably our fault for not asking, and then testing limitations
before designing/selecting frameworks, language, etc.
Caldarale, Charles R wrote:
From: David Hesson [mailto:[EMAIL PROTECTED]
Subject: Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads
I haven't checked where the content length is pulled from
a String but if it does cause a crash, then it is handled
internally
Here's the code of interest:
public int getContentLength() {
long length = getContentLengthLong();
if (length < Integer.MAX_VALUE) {
return (int) length;
}
return -1;
}
(from the 6.0.14 version of org/apache/coyote/Request.java). The real
problem is with the Servlet API spec, which defines the return type of
getContentLength() as an int. Until that problem is resolved, you'll
have to avoid using that API. Note that internally, Tomcat tracks the
size with a long, not an int, although as Rainer has pointed out, some
problems existed in older levels that have been addressed in 6.0.14.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
David Hesson
Software Engineer
NuRelm, Inc.
http://www.nurelm.com
Toll Free: 1-877-268-7356 ext. 207
Local: 1-724-430-0490 ext. 207