Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Software caused connection abort: socket write error

843810Nov 13 2002 — edited Feb 18 2004
I used jdk1.4.0 on NT server platform for implementing a client server application, with multiple client threads hitting this server, and got this error from time to time when the server sending data back to the client; seems to happen more with heavy loads, or with high CPU utilization. Anyone has the similar problem, and any suggestions or where to look for causes?

java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:126)
at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:334)
at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:394)
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:134)
at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:111)
at java.io.BufferedWriter.write(BufferedWriter.java:181)
at java.io.CharArrayWriter.writeTo(CharArrayWriter.java:120)
:
:
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2004
Added on Nov 13 2002
3 comments
735 views