还有这个地址的英文翻译:
http://cephas.net/blog/2004/07/14/sql_server_2000_driver_for_jdbc_connection_reset_by_peer.html
http://cephas.net/blog/2004/07/14/sql_server_2000_driver_for_jdbc_connection_reset_by_peer.html
解决方案 »
- javaEE开发为什么要用到DTO层
- jsp中如何实现分页显示
- Java用xsl对xml做格式转换时抛出ArrayIndexOutOfBoundException
- 请教关于struts2+ajax表单验证的问题
- J2EEshih
- 请问这个是什么
- sos 啊,搞了两天的tomcat 疯了。
- #Struts 标签可以封装成一个自己的标签吗?
- 一个关于j2ee工程提问
- EJB发布疑问:The DataSource is not a TXDataSource???
- tomcat连接池能在重新连接数据库吗?
- Hibernate 按外键查询问题:我有两个表,一个主表Dynasty,一个副表Emperor.(急,请HQL高手进来看看.多谢了)
非程序问题,一般是由于与客户端连接中断所致,没有太有效的办法解决。但是可以通过系统调优等手段提高系统吞吐量,减少部分因延迟而中断的连接。 一般免费的Web Server,如Tomcat对长期积累的IO错误解决不完善,会导致迟缓,甚至挡掉。所以,如果你的网站(或系统)访问量较大或至少又一段时间集中访问量大,一定要留意这个问题,因为它可能会使你的系统停滞。 建议:1、提高系统性能 2、有条件的话换用商业WebServer如weblogic
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文也不怎么好,就不敢翻译了.
Number of Transmit Buffers
中文是什么意思呢?
以上的异常估计是无法避免了,我现在只关心为什么数据库会停呢?
我用的mssql,也出这个问题啊