已经装了sqlserver sp3,运行一端时间后,出现java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing s

qm_ch 2005-11-08 01:15:11
如题,我的运行环境是win2000 server,tomcat5.0.28,ms sql server2000
我已经安装了sqlserver sp3补丁,开始时数据库能连上
大概1天的时间后登录功能用不起来,报错为:java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.但是其它的部分可以运行,如从数据库中取得一些信息显示。
于是我重新启动tomcat,结果整个程序就运行不起来了。
然后我重启操作系统,程序就可以运行起来。

望各位大侠不吝赐教
...全文
150 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
fallhunter 2005-11-19
  • 打赏
  • 举报
回复
肯定是被攻击了,你们服务器谁维护啊,这么差劲??
qm_ch 2005-11-08
  • 打赏
  • 举报
回复
楼上的大侠,回帖我看了,是不是这种情况:
If the problem is intermittent, it might be due to network problems or due to server problems (for example, the server is occasionally too busy to accept a connection). When the problem occurs, check to see if you can connect to the same server instance from another client, such as SQL Query Analyzer. It may also be useful to use a Network Sniffer such as Network Monitor (NetMon) to monitor traffic between the client and the server to determine if there is a network problem.
但是目前1433端口的访问量应该不是很大,所以会不会是被攻击了?
还有就是个人认为应该不是程序里的连接没有释放造成的,因为如果是这样的话,报错应该是“没有可用连接”,但是我没有把握?
vivianfdlpw 2005-11-08
  • 打赏
  • 举报
回复
PRB: Error Establishing Socket with JDBC Driver

http://support.microsoft.com/default.aspx?scid=kb;en-us;313178
qm_ch 2005-11-08
  • 打赏
  • 举报
回复
运行期间没有改任何东西啊
zeq258 2005-11-08
  • 打赏
  • 举报
回复
晕,SQL Server 安装,使用JDBC都非常不方便,

建议,换一个数据库!
「已注销」 2005-11-08
  • 打赏
  • 举报
回复
安装 SP4
loulou82 2005-11-08
  • 打赏
  • 举报
回复
有些奇怪

登陆不上去怎么取信息呢???

运行期间改过配置吗?

22,210

社区成员

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

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