wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "file uploading problem ( greater than 2MB)" Watch "file uploading problem ( greater than 2MB)" New topic

file uploading problem ( greater than 2MB)

Sanjib Pal

Joined: Feb 08, 2010
Posts: 27

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.


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)
Similar Threads
Tomcat classes loading problem.
JDBC, mysql connector/j, face a problem to connect mysql 5.1 and JSE.
PermGen error in Tomcat using Eclipse
Connection refuse on tomcat
File uploading