This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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)
 
Similar Threads
Tomcat classes loading problem.
File uploading
JDBC, mysql connector/j, face a problem to connect mysql 5.1 and JSE.
PermGen error in Tomcat using Eclipse
Connection refuse on tomcat