[phenomenon]There is the error occurs sometimes when our web application system is transferred into so low-speed the net entironmentjava.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.ChunkedInputStream.fastRead(Unknown Source)
at sun.net.www.http.ChunkedInputStream.read(Unknown Source)
......
......Our web application system is based Apache server. There is an client applet to get data from service before client-printing every time.
But when getting data sometimes, there is that error.[perplexed]If you have a look at that exception stack information, you could see it is a problem relative JDK, not relative business application. Maybe is it a bug of JAVA?
Who can teach me the following questions:
1, Whether is it a bug of JAVA?
2, When is this error occurred?
3, How to avoid it, or if it is occurred, how to resolve this error?Hope for your answer! Expecting!简单的用中文描述,就是在高速网络状况下没有问题,极低速网络状况下出现那个exception,什么原因?这是否是java的bug?那个exception通常在什么时候会出现?如果出现了,如何解决?请高手指教!
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.ChunkedInputStream.fastRead(Unknown Source)
at sun.net.www.http.ChunkedInputStream.read(Unknown Source)
......
......Our web application system is based Apache server. There is an client applet to get data from service before client-printing every time.
But when getting data sometimes, there is that error.[perplexed]If you have a look at that exception stack information, you could see it is a problem relative JDK, not relative business application. Maybe is it a bug of JAVA?
Who can teach me the following questions:
1, Whether is it a bug of JAVA?
2, When is this error occurred?
3, How to avoid it, or if it is occurred, how to resolve this error?Hope for your answer! Expecting!简单的用中文描述,就是在高速网络状况下没有问题,极低速网络状况下出现那个exception,什么原因?这是否是java的bug?那个exception通常在什么时候会出现?如果出现了,如何解决?请高手指教!
<name>maxWait</name>
<value>3000</value>
</parameter>你这个我也没遇到过,只是说一下我的想法.错了就只当我没来这里!哈哈....是不是你的maxWait的时间设的太短了