jtds 与 SQL Server 2008 R2 - “套接字写入错误”

发布于 2024-12-14 06:00:34 字数 261 浏览 1 评论 0原文

我们将旧安装移至新的托管合作伙伴,现在从 apache (6.0.20) 到 SQL Server 2008 R2(运行在另一台主机上)。我们正在使用当前的 jTDS (1.2.5) jdbc 驱动程序。搬家之前并没有出现这些问题。

MS SQL Server 专家表示,问题可能与我们在 MS Server 2008 R2 上运行 jTDS 有关。

问:任何人都可以支持(或反驳)我们的问题与我们使用 jTDS 有关的理论(并且我们最好使用 MS JDBC 驱动程序)吗?

We moved an old installation to a new hosting partner and now we're getting intermittent (now and then, days apart) "socket write errors" on a jdbc connection from an apache (6.0.20) to an SQL Server 2008 R2 (running on another host). We're using the current jTDS (1.2.5) jdbc drivers. The problems did not occur before the move.

An MS SQL Server specialist suggests the problems might be related to us running jTDS with MS Server 2008 R2.

Q: Can anybody support (or disprove) the theory that our problems are related to us using jTDS (and that we would be better off using MS JDBC drivers)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

只为守护你 2024-12-21 06:00:34

发生这种情况的原因有多种,具体取决于您的应用程序正在执行的操作:

  1. SQL Server 实例可能已停止
  2. 连接已超时
  3. 对于二进制数据,流将被重置。

There are a number of reasons this could happen depending on what your application is doing:

  1. The SQL Server instance may have been stopped
  2. The connection has timed out
  3. In the case of binary data, the stream is reset.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文