I’m trying to upload a file to a restful – Jersey web service deployed on Tomcat server that is a receives uploaded files as multipart . It works fully correct on Windows OS but on Linux the file fails to save with no exception thrown from the following saving method : The multipart variable is already declared in the web.xml