Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

socket error

  Asked By: Pamela    Date: Sep 06    Category: Java    Views: 1161

I am using the HttpUrlConnection class to communicate between two sites that i
have built. The request is sent from site A to B. The response sent back causes
this error:

com.evermind.server.http.HttpIOException: Software caused connection abort:
socket write error

I print the response just before the erroreous line of code and I see that only
a subset of the bytes sent actually reach site A. The code that sends the
request is as simple as this:

ServletOutputStream output = response.getOutputStream();
BufferedOutputStream out1 = new BufferedOutputStream(output);

The code that receives the request is similar...

Does anybody know the cause of this?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on socket error Or get search suggestion and latest updates.