Connection reset by peer问题原因
    
 专家认为“与服务器的连接被重置”错误信息是与当地ISP的连接有关,当连接链路和速率不佳的情况下,与ISP的连接瞬间中断会造成对所访问的站点或信息丢失的情况。 
“  我们看看sun论坛的人怎么说  
有人说“there is an error in the underlying protocol, such as a TCP  
error,I think the reason is that your connection has been disconnected by peer when sending or receiving data to or from this connection”  有人说:“Sockets can close. TCP is not "reliable", it is just "as reliable as possible".  
What protocol and server are you using? Maybe there is a good reason why your server has closed the port.   
Alternatively, if it is an unexpected termination of an idle socket, there are two reasons this can happen. Windows DUN has an option called "Disconnect if idle" which is enabled by default, and which causes the modem to hang up. I have to educate our chat users to change it - Windows definition of an idle connection is one with a low data rate, and text-based chat is not busy enough to rate as active.  
Secondly, some network components like load balancers will themselves close idle sockets (not the whole PPP session) particularly at peak time. To check if you have this, write a small client that opens half a dozen connections and wait and see what happens to them.”  

解决方案 »

  1.   

    以下摘自bea公司的faq You may see messages like these in the log file:  (Windows NT)  java.io.IOException Connection Reset by Peer 
     java.io.EOFException Connection Reset by Peer (Solaris) java.io.Exception: Broken pipe These messages occur when you are using servlets. A client initiates an HTTP request, and then performs a series of actions on the browser:  
    Click Stop or enter equivalent command or keystrokes  Click Refresh or enter equivalent command or keystrokes  Send a new HTTP request.  
    The messages indicate that WebLogic Server has detected and recovered from an interrupted HTTP request.  
      

  2.   

    我感觉 人家需要的是解决方案而不是若多的原因
    j2ee学习中
      

  3.   

    client端向Server端的页面请求没有问题,关键是Web server与DateBase间出现问题