Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Connection aborted by peer

Reply
Thread Tools

Connection aborted by peer

 
 
Gerald
Guest
Posts: n/a
 
      08-28-2003
Hi,

I've got a client/server application that communicates via TCP. Once
and a while, I'll get the following error: "Connection aborted by
peer" when writing a response to some of the clients I have connected
(I have a request/response protocol that they use). The odd thing is
that this isn't a consistent issue. It doesn't seem to be load based
but appears to be random.

I'm running on a Win2k system using WebLogic v7.0 sp2. Its not an
http issue at all (there is no http portion of my app) so I'm at kind
of a loss. Any one have any ideas ? What exactly does "Connection
aborted by peer" mean ? btw - the line of code it fails on is this:

try
{
// aryToClient is a byte array
objOutStream.write(aryToClient);
}
catch (Exception e)
{
System.err.println ("error writing to client is: " +
e.getMessage());
}

Any ideas ?

thanks,
Jerry
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Peer to Peer Connection using ICQ =?Utf-8?B?TWFyaWFuSA==?= Wireless Networking 5 09-30-2008 12:43 PM
Rake and rake aborted! Rake aborted! undefined method `gem' for main:Object peppermonkey Ruby 1 02-10-2007 04:43 AM
PIX - loss of connection to it - and stopping peer to peer barret bonden Cisco 8 10-26-2006 04:05 PM
how to connect to peer to peer programs using a dsl connection shawn1 Computer Support 2 08-08-2004 01:45 AM
peer-to-peer OSI and physical connection?? esara Cisco 0 05-19-2004 06:23 PM



Advertisments