socket write error错误问题,我想大家也许碰到过,请问怎么解决的,急!!!

bezier103 2005-11-11 03:15:34
未知错误类型:!
OrganizeAgent getPersonList error! java.sql.SQLException: [Microsoft] [SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write error??



...全文
470 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
bezier103 2005-11-18
  • 打赏
  • 举报
回复
>这个是我们系统在使用中碰到的问题,解决的方案如下:

错误提示:
未知错误类型:!OrganizeAgent getPersonList
>error! java.sql.SQLException: [Microsoft] [SQLServer 2000
> Driver for JDBC]Connection reset by
> peer: socket write error?
>
>
> 1)http://cephas.net/blog/2004/07/14/sql_server_2000_driver_for
_jdbc_connection_reset_by_peer.html
>
> http://rdweb.cns.vt.edu/public/notes/win2k-tcpip.htm
> 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.
> 上面的意思大致是:在WIN2000
> SERVER中把发送与接收缓冲区的字节树设大点;标准是128-256,设置为1024吧,具
体怎么设置我没找到
>
>
>
> 2)http://www.wnetw.com/jclub/superfaq/read.jsp?itemid=31
> <parameter>
> <name>validationQuery</name>
> <value>select 1</value>
> </parameter>
> 在JFW.XML配置文件中加上上面的一段话,测试启动暂没发现对系统有错误信息
zoubsky 2005-11-11
  • 打赏
  • 举报
回复
学习~~~~
bezier103 2005-11-11
  • 打赏
  • 举报
回复
谢谢vivianfdlpw() 的信息
vivianfdlpw 2005-11-11
  • 打赏
  • 举报
回复
http://cephas.net/blog/2004/07/14/sql_server_2000_driver_for_jdbc_connection_reset_by_peer.html

22,209

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server 疑难问题
社区管理员
  • 疑难问题社区
  • 尘觉
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧