Konstantin Kolinko, You mentioned the following in your mail: "You can add the following: "%{content-length}i" to your Access Log Valve configuration to log the Content-Length header of the incoming request." Can you elaborate as to how to make this change.
Regards, Sahana On Fri, Aug 17, 2012 at 6:48 PM, Sahana Voleti <sahanasithmas...@gmail.com>wrote: > Ognjen Blagojevic , Konstantin Kolinko, > By unsuccessful I mean that the file fails to upload. Following > the Apache commons upload guidelines, the data first comes in chunks into a > temp directory and after all the data is collected there it saves it in > the permanent directory. In my case, data comes till temp but fails to move > to the permanant location. > I initially got the OutofMemoryError which I corrected by increasing the > Java heap size. Now what I constantly get is the following error: > org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: > Processing o > f multipart/form-data request failed. Stream ended unexpectedly > org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: > Processing o > f multipart/form-data request failed. Stream ended unexpectedly > > > I am using Google Chrome as the browser. I stopped IIS thinking that may > have caused a problem but the error still persists.Is there some changes > that I need to make in Windows?? > Kindly help me out. > > Regards, > Sahana Voleti > > > > > On Fri, Aug 17, 2012 at 6:21 PM, Konstantin Kolinko < > knst.koli...@gmail.com> wrote: > >> 2012/8/17 Sahana Voleti <sahanasithmas...@gmail.com>: >> > Hello list, >> > >> > I am trying to upload really large files (size about 10GB) using >> > the Apache commons upload. I have followed the steps properly, increased >> > the java heap size and the maxPostSize in tomcat (I am using tomcat >> version >> > 7.0.29). Also I am using Windows XP , 2GB RAM machine. Here is what I >> have >> > observed: >> > a) Upload from Linux to Windows successful >> > b) Upload from Linux to Linux machine successful >> > c) Upload from Window to Window unsuccessful >> > d) Upload from Windows to Linux is unsuccessful >> > The Linux machine used is version 12.04 and Windows machines used are >> > Windows 7 Professional and Windows XP professional. >> > I am guessing this is a problem with using Windows machines as a client. >> > Kindly help me with this problem. >> >> See this thread: >> http://tomcat.markmail.org/thread/6jxxcfg2s6rigl6w >> >> Short summary: >> 1. You must use a recent version of commons fileupload, or Servlet >> 3.0 file upload support available in Tomcat 7. >> >> 2. Most of browsers that I tested in April 2012 (on Windows) were >> broken and were sending invalid requests. >> >> At that time only Google Chrome was working correctly. >> >> You can add the following: "%{content-length}i" to your Access Log >> Valve configuration to log the Content-Length header of the incoming >> request. >> >> Regarding Mozilla Firefox, the issue has been closed recently (this >> month, August 2012), so the fix will be included in some upcoming >> version of it. >> https://bugzilla.mozilla.org/show_bug.cgi?id=215450 >> >> 3. Some browsers looked as if they were trying to create the request >> in memory, which is quite troublesome for such big files. >> >> Best regards, >> Konstantin Kolinko >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> >