突然不能telnet 服务器的端口,大约一周发生一次
在VM虚拟机中有一个 windows 2008 R2的操作系统,目前这台服务器上面发布了一个JBoss应用服务,在运行一周左右的时间的时候,就会出现这个服务器不能telnet 数据库服务器的端口,本地监听的端口也不通,导致服务异常,重启JBoss服务和数据库没有作用,最后重启系统后正常了。
同样的另外一台应用服务器没有这个问题。
这是JBoss部分错误日志:
com.highsoft.common.exception.DBException: 执行数据库查询出错! 出错原因: Could not create connection; - nested throwable: (java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection)) .