Error loading Tomcat instance with temporary directory

When I try to load a form containing an image and a regular form element, I get the following error:

org.apache.commons.fileupload.FileUploadBase $ IOFileUploadException: Multipart / form-data request processing failed. / usr / tomcat 7 / tmp / upload__275a1dac_1371dd097cc__8000_00000001.tmp (There is no such file or directory)

Cannot execute ServletFileUpload.parseRequest (request). I do not get any other information from a regular stacktrace.

This happens most likely only for files larger than 5k (like a restrictive limit).

I checked that the directory exists and is readable and writable. There is a lot of disk space. I tried changing the tmp directory, but getting the same error for the changed directory. I tried setting maxUploadSize to server.xml - it has no effect.

I use jQuery ajaxSubmit on the client side if that matters, but I used it in the past without any problems.

I am at a loss and will appreciate what I can do, or at least the best way to debug the problem. Thank!

+3
source share

All Articles