Okay, apparently I have not solved the problem. I'm still getting a
"Stream Ended Unexpectedly" error when trying to upload relatively
large files. I have started dumping out the CFCATCH so that I can
find out more information about the issue, and my CFCATCH.TYPE reads:
org.apache.commons.fileupload.multipartstream$malformedstreamexception
The error happens on a CFFILE TYPE="upload" function. At first I
thought this was a timeout issue, but it doesn't seem to be the case -
or at least my results are not consistent. Most of the time large
files over 200mb will break during the upload, but I have successfully
uploaded a 716mb file which took 30 mins, a 376mb file that took 16
mins, but have also had a 200mb file that broke at 12 mins in.
A short while ago I had come to the conclusion that it was a timeout
issue. So I modified the following:
a) CFSETTING requesttimeout variable in this particular script to be
600000,
b) Added the "LimitRequestBody
2147483647" line in my Apache virtual
host (2gb limit), and
c) Modified the tomcat server.xml file's connector tag to have
connectionTimeout="20000" and disableUploadTimeout="true"
So I'm not sure what is breaking here and how I can fix it. Does
anyone have any recommendations?
Thanks,
Bien
http://www.theclientspace.com