title: Tomcat multipart form upload error with temp directory
body: <p>When I attempt to upload a form that contains an image and a regular form item, I get the following error :</p>
  
  <p>org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /usr/tomcat7/tmp/upload__275a1dac_1371dd097cc__8000_00000001.tmp (No such file or directory)</p>
  
  <p>It's failing on ServletFileUpload.parseRequest(request). I get no other information from a regular stacktrace.</p>
  
  <p>This seems to only happen for files larger than about 5k (sort of a restrictive limit).</p>
  
  <p>I have verified that the directory exists and is readable and writeable. There is plenty of disk space. I have tried changing the tmp directory, but get the same error for the changed directory. I have tried setting maxUploadSize in server.xml - to no effect.</p>
  
  <p>I am using JQuery ajaxSubmit on the client side if it's relevant, but I've used it in the past without problem.</p>
  
  <p>I'm at a loss and would appreciate pointers on what I can do, or at least what the best way would be to debug the problem. Thanks!</p>