This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Tomcat and the fly likes file uploading problem ( greater than 2MB) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "file uploading problem ( greater than 2MB)" Watch "file uploading problem ( greater than 2MB)" New topic
Author

file uploading problem ( greater than 2MB)

Sanjib Pal
Greenhorn

Joined: Feb 08, 2010
Posts: 27
Hi,

I have a big problem when uploading a file greater than 2mb.
When I tried to upload a file greater than 2mb, the browser connection resets instantly, giving an error
Error: 101 ( net::ERROR_CONNECTION_RESET): The connection was reset

In my tomcat's server.xml I have configured the Connector as



the memory of jvm is as



I am using spring framework.

the bean configuration is as



and my java code is as



Please give me a suggestion to solve this problem.

Thanks,
Sanjib


SCJP 5.0
Try unless you get the ultimate success.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: file uploading problem ( greater than 2MB)
 
Similar Threads
Tomcat classes loading problem.
Connection refuse on tomcat
PermGen error in Tomcat using Eclipse
JDBC, mysql connector/j, face a problem to connect mysql 5.1 and JSE.
File uploading