我在生产中遇到此错误:com.microsoft.sqlserver.jdbc.sqlserverexception.socket已关闭。 [英] I am having this error in production: com.microsoft.sqlserver.jdbc.sqlserverexception.socket closed.

查看:335
本文介绍了我在生产中遇到此错误:com.microsoft.sqlserver.jdbc.sqlserverexception.socket已关闭。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,



我们在"云"中有一个数据库。它与我们的服务器连接。 在我看来,当IO很慢并且它导致自己阻止它自己的进程时,我得到这个错误。 我对这种类型的错误或连接很新。 
感谢所有帮助:


com.microsoft.sqlserver.jdbc.sqlserverexception.socket已关闭




解决方案

错误并没有说明底层问题。也许您的代码有多次打开/关闭连接尝试。您可能想要查看您的代码。以下主题可能会有所帮助。 


https://stackoverflow.com/questions/1344020/dbunit-and-sql-server-getting-a-socket-closed


All,

We have a database in the "cloud" and it is connection to our server.  It seems to me that I get this error when the IO is slow and it causes its self to block it's own processes.  I am very new to this type of error or connection.  All help is appreciated thanks:

com.microsoft.sqlserver.jdbc.sqlserverexception.socket closed


解决方案

The error doesn't tell much about the underlying problem. Maybe your code has multiple open/close connection attempts. You might want to review your code. The following thread might help. 

https://stackoverflow.com/questions/1344020/dbunit-and-sql-server-getting-a-socket-closed


这篇关于我在生产中遇到此错误:com.microsoft.sqlserver.jdbc.sqlserverexception.socket已关闭。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆