还有这个地址的英文翻译:
http://cephas.net/blog/2004/07/14/sql_server_2000_driver_for_jdbc_connection_reset_by_peer.html

解决方案 »

  1.   

    我又查了一些资料,原因如下:
        非程序问题,一般是由于与客户端连接中断所致,没有太有效的办法解决。但是可以通过系统调优等手段提高系统吞吐量,减少部分因延迟而中断的连接。    一般免费的Web Server,如Tomcat对长期积累的IO错误解决不完善,会导致迟缓,甚至挡掉。所以,如果你的网站(或系统)访问量较大或至少又一段时间集中访问量大,一定要留意这个问题,因为它可能会使你的系统停滞。    建议:1、提高系统性能 2、有条件的话换用商业WebServer如weblogic
      

  2.   

    你看的是这段吧?Connection reset errors are caused by a number of things.
    We moved from the MS SQL Server driver to jTds and it helped but there were two other issues of greater importance to remove the error.
    First are the network interface cards in your windows server. Most of them have the transmit and receive buffers set to 128 or 256.
    You can set them to 1024 (either in the registry or in the properties of the network card from control panel)
    and this will eliminate about 1/3rd of the errors.你进控制面板->网络连接->本地连接->常规->配置->高级
    里边Number of Receive Buffers 
    和  Number of Transmit Buffers 
    设置这两个值就可以了
    不过偶的电脑设置不了 1024
    Number of Transmit Buffers  范围是 4 - 200
    Number of Receive Buffers   范围是 3 - 500
    偶的E文也不怎么好,就不敢翻译了.
      

  3.   

    Number of Receive Buffers 
    Number of Transmit Buffers
    中文是什么意思呢?
      

  4.   

    数据库和web不放在一个地方就容易出现这个问题,原因当然是网络问题喽,比如数据库服务器重新启动,而web服务器不重启就有可能会出现这样的错误
      

  5.   

    我的Web服务器和数据库都在本地!
    以上的异常估计是无法避免了,我现在只关心为什么数据库会停呢?
      

  6.   

    不单单是数据库的问题吧
    我用的mssql,也出这个问题啊