logo       

Re: strange periodic socket exceptions: msg#00095

java.jetty.general

Subject: Re: strange periodic socket exceptions

Is this when you are using SSL with a Microsoft Internet Explorer?
And is it when there are multiple resources being sent down the same SSL
connection?

If so, this could be a known Microsoft bug. Make sure your clients have all the
latest Microsoft security patches. If this is not feasible, you can turn off
the HTTP 1.1 persistance in the server, which will work-around the Microsoft
bug. Check the archives for the words Microsoft, IE and SSL.

Or it could be something else entirely! Hard to tell when you've got non-Jetty
code in the stack trace.

It could be that there are two attempts to destroy the same connection.

What exactly do you mean by "slow down the application"? As observed where? By
how much?

Chris Haynes


----- Original Message -----
From: "Tahura Chaudhry" <tahura@xxxxxxxxxxx>
To: <jetty-discuss@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, September 30, 2004 9:26 PM
Subject: [jetty-discuss] strange periodic socket exceptions


> I see the following exception traces at periodic intervals. There are no
> errors but seem to slow down the application. What can be causing this?
>
> [java] 16:05:44.354 WARN!! [SocketListener1-3]
> org.mortbay.http.NullableOutputStream.destroy(NullableOutputStream.java:96)
> >08> EXCEPTION
> [java] java.net.SocketException: Software caused connection abort:
> socket write error
> [java] at java.net.SocketOutputStream.socketWrite0(Native Method)
> [java] at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
> [java] at
> java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> [java] at
> com.jssl.SocketRecordLayer.write(SocketRecordLayer.java:29)
> [java] at
> com.jssl.internal.SSLProtocol.writeData(SSLProtocol.java:981)
> [java] at
> com.jssl.internal.SSLProtocol.finish(SSLProtocol.java:283)
> [java] at com.jssl.internal.SSLProtocol.close(SSLProtocol.java:260)
> [java] at
> com.jssl.internal.SSLOutputStream.close(SSLOutputStream.java:36)
> [java] at
> org.mortbay.http.NullableOutputStream.destroy(NullableOutputStream.java:96)
> [java] at
> org.mortbay.http.HttpOutputStream.destroy(HttpOutputStream.java:405)
> [java] at
> org.mortbay.http.HttpConnection.destroy(HttpConnection.java:1162)
> [java] at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:852)
> [java] at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> [java] at
>
com.test.sslsupport.jetty.SocketListener.handleConnection(SocketListener.java:16
9)
> [java] at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:345)
> [java] at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:530)
>
> [java] 16:06:33.922 WARN!! [SocketListener1-4]
> org.mortbay.http.NullableOutputStream.destroy(NullableOutputStream.java:96)
> >08> EXCEPTION
> [java] java.net.SocketException: Connection reset
> [java] at
> java.net.SocketInputStream.read(SocketInputStream.java:168)
> [java] at
> com.jssl.SocketRecordLayer.read(SocketRecordLayer.java:25)
> [java] at
> com.jssl.internal.SSLProtocol.readData(SSLProtocol.java:1002)
> [java] at
> com.jssl.internal.SSLProtocol.receiveRecord(SSLProtocol.java:862)
> [java] at
> com.jssl.internal.SSLProtocol.stateReceive(SSLProtocol.java:469)
> [java] at
> com.jssl.internal.SSLServerProtocol.stateStepImpl(SSLServerProtocol.jav
> a:134)
> [java] at
> com.jssl.internal.SSLProtocol.stateStep(SSLProtocol.java:454)
> [java] at
> com.jssl.internal.SSLProtocol.finish(SSLProtocol.java:297)
> [java] at com.jssl.internal.SSLProtocol.close(SSLProtocol.java:260)
> [java] at
> com.jssl.internal.SSLOutputStream.close(SSLOutputStream.java:36)
> [java] at
> org.mortbay.http.NullableOutputStream.destroy(NullableOutputStream.java:96)
> [java] at
> org.mortbay.http.HttpOutputStream.destroy(HttpOutputStream.java:405)
> [java] at
> org.mortbay.http.HttpConnection.destroy(HttpConnection.java:1162)
> [java] at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:852)
> [java] at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> [java] at
>
com.test.sslsupport.jetty.SocketListener.handleConnection(SocketListener.java:16
9)
> [java] at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:345)
> [java] at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:530)
>
> _________________________________________________________________
> Take charge with a pop-up guard built on patented Microsoft® SmartScreen
> Technology.
>
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
> Start enjoying all the benefits of MSN® Premium right now and get the
> first two months FREE*.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> jetty-discuss mailing list
> jetty-discuss@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>
>




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise