Theoriginal file name is the name of the file on the end-user's machine. Your Spring MVC application runs on your server machine. You can't use the original file name, hope to find the absolute file name on the end-user machine, and even less try to read the file using this name.
Responsemessage: java.sql.SQLException: Cannot create PoolableConnectionFactory (The TCP/IP connection to the host localhost, port 1433 has failed. Error: "Connection refused: connect. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port.
When2 users invoke in parallel these 2 methods I get deadlock exception, but I don't know how to handle it in code and inform user with friendly message e.g. "rows are updated/updating by other user" - actually this is what I need (avoid deadlock and rewrite logic is for future, actually not an option) Caught exception hierarchy is following: . 149 175 22 396 46 323 405 301