Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SocketException: Connection aborted by peer: socket write error

0 views
Skip to first unread message

Naresh Bhatia

unread,
Oct 23, 2002, 12:26:22 AM10/23/02
to

I am getting a SocketException when my client tries to send a very large message
(app 2MB) to a servlet running on the WL 6.1 server. Does anyone know what the
problem might be? Smaller messages work just fine.

Below is the web access log that shows 2 short messages posting to the server
without any problems. But the 3rd large message, which is sent after about 2.5
minutes, generates the SocketException because the server has closed the connection.

<pre>
192.168.1.6 - - [23/Oct/2002:03:35:49 +0000] "POST /soap/services/oss HTTP/1.0"
200 391
192.168.1.6 - - [23/Oct/2002:03:35:52 +0000] "POST /soap/services/oss HTTP/1.0"
200 389
</pre>

I have tried varying bunch of parameters on the WL server such as MaxPostSize,
MaxPostTimeSecs, PostTimeoutSecs, KeepAliveEnabled, KeepAliveSecs, etc. But no
luck so far. The exception trace is shown below. Any help would be much appreciated.

<pre>
- java.io.IOException:
java.net.SocketException: Connection aborted by peer: socket write error
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
at com.sun.net.ssl.internal.ssl.OutputRecord.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:112)
at java.io.OutputStreamWriter.write(OutputStreamWriter.java:184)
at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:114)
at java.io.BufferedWriter.write(BufferedWriter.java:209)
at java.io.Writer.write(Writer.java:129)
</pre>

0 new messages