File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes file uploading problem ( greater than 2MB) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
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://aspose.com/file-tools
 
subject: file uploading problem ( greater than 2MB)