hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "moonumi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-957) java.net.SocketException: Unrecognized Windows Sockets error: 0: socket write error
Date Fri, 25 Jun 2010 01:48:50 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

moonumi updated HTTPCLIENT-957:
-------------------------------

    Description: 
My applet do process upload and download  from javascript on web page.

many user will use my applet but my applet some pc throw exception.

java.net.SocketException: Unrecognized Windows Sockets error: 0: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(Unknown Source)
	at java.net.SocketOutputStream.write(Unknown Source)
	at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:106)
	at org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:113)
	at org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClientConnection.java:260)
	at org.apache.http.impl.SocketHttpClientConnection.close(SocketHttpClientConnection.java:248)
	at org.apache.http.impl.conn.DefaultClientConnection.close(DefaultClientConnection.java:154)
	at org.apache.http.impl.conn.AbstractPooledConnAdapter.close(AbstractPooledConnAdapter.java:131)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:130)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)


error pc internet and network does not detect problem but outputstream throw error.

I'm found some action.

1. Get method and simple text send, receive does not throw exception.
2. Post mehod and file(use stream) send, receive throw exception.




  was:
My applet do process upload and download  from javascript on web page.

many user will use my applet but my applet some pc throw exception.

java.net.SocketException: Unrecognized Windows Sockets error: 0: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(Unknown Source)
	at java.net.SocketOutputStream.write(Unknown Source)
	at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:106)
	at org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:113)
	at org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClientConnection.java:260)
	at org.apache.http.impl.SocketHttpClientConnection.close(SocketHttpClientConnection.java:248)
	at org.apache.http.impl.conn.DefaultClientConnection.close(DefaultClientConnection.java:154)
	at org.apache.http.impl.conn.AbstractPooledConnAdapter.close(AbstractPooledConnAdapter.java:131)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:130)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
	at kr.go.g2b.edosi.applet.G2B.RequestHttpServer(G2B.java:12248)

error pc internet and network does not detect problem but outputstream throw error.

I'm found some action.

1. Get method and simple text send, receive does not throw exception.
2. Post mehod and file(use stream) send, receive throw exception.





> java.net.SocketException: Unrecognized Windows Sockets error: 0: socket write error
> -----------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-957
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-957
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.0.1
>         Environment: windows xp sp1, sp2, sp3
>            Reporter: moonumi
>
> My applet do process upload and download  from javascript on web page.
> many user will use my applet but my applet some pc throw exception.
> java.net.SocketException: Unrecognized Windows Sockets error: 0: socket write error
> 	at java.net.SocketOutputStream.socketWrite0(Native Method)
> 	at java.net.SocketOutputStream.socketWrite(Unknown Source)
> 	at java.net.SocketOutputStream.write(Unknown Source)
> 	at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:106)
> 	at org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:113)
> 	at org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClientConnection.java:260)
> 	at org.apache.http.impl.SocketHttpClientConnection.close(SocketHttpClientConnection.java:248)
> 	at org.apache.http.impl.conn.DefaultClientConnection.close(DefaultClientConnection.java:154)
> 	at org.apache.http.impl.conn.AbstractPooledConnAdapter.close(AbstractPooledConnAdapter.java:131)
> 	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:130)
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
> error pc internet and network does not detect problem but outputstream throw error.
> I'm found some action.
> 1. Get method and simple text send, receive does not throw exception.
> 2. Post mehod and file(use stream) send, receive throw exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message