Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David Hesson
Hello, thanks for the information received thus far and trying to assist me. With regards to the Integer problem: public class test { public static void main (String []args) { int j = 10; int y = 2147483646; int result = j + y; System.out.println( result ); } }

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David Hesson
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

RE: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread Caldarale, Charles R
From: David Hesson [mailto:[EMAIL PROTECTED] Subject: Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads I have installed 6.0.14 now and the same problem persists. Can you post your servlet/JSP code (if it's not excessively large)? IIRC, you're using Commons FileUpload 1.2

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David Hesson
; charset=UTF-8 titleJSP Page/title /head body %=request.getMethod ()% /body /html Caldarale, Charles R wrote: From: David Hesson [mailto:[EMAIL PROTECTED] Subject: Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads I have installed 6.0.14 now and the same problem

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David kerber
David Hesson wrote: 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

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David Hesson
No clue, I guess that is an assumption on my behalf. If it doesn't, I'd be delighted to know that. Will do some research shortly. David kerber wrote: David Hesson wrote: 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

RE: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread Peter Crowther
From: David kerber [mailto:[EMAIL PROTECTED] Do you know if .NOT will let upload these giant files? Definitely not on 32-bit (see http://support.microsoft.com/kb/295626). The address space maxes out at 1 Gbyte, and IIS has to buffer the bytes in RAM before ASP.NET can process them.

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David Hesson
Wow, I wonder if I'm going to have to do some kind of Applet to get this to work properly? Another solution is forwarding requests to some FTP app, but they want progress bars. If I were to compile and run all this on a 64 bit, do integers use 32 bit still or are they knocked up to 64 in

RE: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread Caldarale, Charles R
From: David Hesson [mailto:[EMAIL PROTECTED] Subject: Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads If I were to compile and run all this on a 64 bit, do integers use 32 bit still Recompilation for different platforms is never needed for Java code - that's one of its advantages

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Hesson wrote: Hello, thanks for the information received thus far and trying to assist me. With regards to the Integer problem: [snip] C:\Documents and Settings\David\Desktopjava test -2147483640 It overflows when they are added

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Hesson wrote: 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... I know for a fact that Tomcat 5.5 can accept bigger-than-2GB

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread Markus Schiegl
/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

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, Markus Schiegl wrote: a few days ago i had the same question/problem. i found: http://www.motobit.com/help/scptutl/pa98.htm If this is correct (my own limited tests confirmed it) you're effectivly limited to 2GB uploads using HTTP and

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David Hesson
Well I am a new developer (I was still in college when I began helping with this project) My boss told me the client would like to use .NET, and I got kind of excited because I haven't worked with .NET/ASP/C# for quite a bit, and I love the compiler, but he talked the client out of it (the

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Hesson wrote: Servlets are never reached in the web application, only the filters are hit. Servlet calls seem to be getting skipped. Your filters are called, but not the servlet? That's odd. Can you post the code to your filters? Or

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread Len Popp
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

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David Hesson
Thanks, will do. Len Popp wrote: Yes, I've seen problems with IE and Firefox uploading files 2GB (but I haven't tested the latest versions). The browser either sends a bogus Content-Length, or it doesn't send a request at all! David, try your test JSP with the Opera browser. It seems to be

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David Hesson
Opera totally works. I just uploaded a 4.2GB file with it :) Thank you guys so much. Solution to uploading 2GB files was indeed not a Tomcat issue. The login page will now contain the following text: To upload files 2GB, here are a list of browsers... 1) Opera 2) ? :) Cheers and many

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David Hesson
You guys have no idea how happy I am. David Hesson wrote: Opera totally works. I just uploaded a 4.2GB file with it :) Thank you guys so much. Solution to uploading 2GB files was indeed not a Tomcat issue. The login page will now contain the following text: To upload files 2GB, here are

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 DAvid, David Hesson wrote: The content-length has a maximum value of 2.x billion, which is right under two gigabytes. Is this a limit on commons-upload? The header itself can contain an arbitrarily high number, so there's no inherent file-size

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-16 Thread Len Popp
There were in fact bugs with requests 2GB in both Tomcat and mod_jk which were fixed recently, as Rainer pointed out. (And some of the code was using -1 if the content-length was too large.) Upgrading to 6.0.14 or the next 5.5 release should fix the problem. There's no size limit on

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-15 Thread ben short
Hi, Have a look at the commons-fileupload [1], it should help you out. Ben [1] http://commons.apache.org/fileupload/ On 8/15/07, David Hesson [EMAIL PROTECTED] wrote: I am dealing with a client who needs multi-gigabyte uploads (4GB+, whatever he wants really, and he says it is

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-15 Thread David Hesson
Completely sorry, details follows: System: Windows XP (Home I believe) 32 bit 2GB Memory on my system Web Application Details/ Other Details: JSF Framework (1.1?) Commons File Uploads 1.2 attempted to be used Tomcat 5.5.17 I'm going to say that Sun is my JVM vendor?? JVM is version 1.6 Tomcat

RE: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-15 Thread Caldarale, Charles R
From: David Hesson [mailto:[EMAIL PROTECTED] Subject: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads Any help would be greatly appreciated. Should we guess the Tomcat version you're using, or would you like to tell us? It would also be helpful to know the platform you're running on,

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-15 Thread Rainer Jung
There have been fixes for 2GB size uploads and downloads between June 10 and June 5. If we assume, that those fixes will help, you've got a coupe of options: - try with Tomcat 6.0.14, which already contains the fixes. This is a major update, but since you are already using Java 5+, you