Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

(104) Connection reset by peer

 
Bob Backlund
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I was wondering if anyone could help me, firstly I'm not sure if this should be on the JSP or Servlet forum, so apologies in advance if I'm wrong.
I have a small program which moves files from one location to another, you simply start with a page which allows you to select the files to be moved, then when you click submit a servlet begins to transfer the files accross. Once this is complete the servlet redirects to a success page. The problem seems to be if the user transfers a large file (or large collection of files), after a couple of minutes I get a (104) Connection reset by peer, URL can not be found error. However the file move does still appear to be working in the background, but to the user appears to have failed.
I can not refresh the [age as this seems to cause the servlet to try and start the file transfer again, so I need a way to stop the (104) Connection reset by peer error from occurng.
Please help I have been looking for a few days now and seem to have hit a brick wall! :-(
Cheers KPS
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
KPS
Welcome to the Java Ranch, we hope you�ll enjoy visiting as a regular however,
your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy.
Thanks again and we hope to see you around the ranch!!
 
Bob Backlund
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Appologies it is in fact a 404 Connection reset by peer error NOT a 104 error as i foolishly typed before.
Soz.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic