我正在使用Apache Tomcat 8,MSSQL,窗口服务器2008 R2来实现我的网页。
大多数时候,网页服务都是正常的。不能意外访问它。
当无法访问网页服务时,“ Tomcat”面板中的“服务状态”显示为“已启动”。
重启Tomcat后,网页服务将恢复正常。
28-Jan-2019 22:36:26.762 SEVERE [http-nio-9191-exec-61]
com.microsoft.sqlserver.jdbc.TDSReader.throwInvalidTDS TDSReader@6c8543c5 (
ConnectionID:3622 TransactionID:0x0000000000000000) got unexpected value in
TDS response at offset:157
28-Jan-2019 22:37:45.434 SEVERE [http-nio-9191-exec-60]
com.microsoft.sqlserver.jdbc.TDSParser.throwUnexpectedTokenException
TDSReader@c6cc18b ( ConnectionID:3631 TransactionID:0x0000000000000000):
FetchBufferTokenHandler: Encountered unexpected TDS_RETURN_VALUE (0xAC)
28-Jan-2019 22:37:45.434 SEVERE [http-nio-9191-exec-60]
com.microsoft.sqlserver.jdbc.TDSReader.throwInvalidTDS TDSReader@c6cc18b (
ConnectionID:3631 TransactionID:0x0000000000000000) got unexpected value in
TDS response at offset:157
28-Jan-2019 23:40:28.340 SEVERE [http-nio-9191-exec-79]
com.microsoft.sqlserver.jdbc.TDSParser.throwUnexpectedTokenException
TDSReader@649469de ( ConnectionID:3655 TransactionID:0x0000000000000000):
closeServerCursor: Encountered unexpected TDS_COLMETADATA (0x81)
28-Jan-2019 23:40:29.512 SEVERE [http-nio-9191-exec-79]
com.microsoft.sqlserver.jdbc.TDSReader.throwInvalidTDS TDSReader@649469de (
ConnectionID:3655 TransactionID:0x0000000000000000) got unexpected value in
TDS response at offset:0
出现上面的Tomcat登录信息后,必须重新启动Tomcat,才能再访问该网页。
如何保持网页正常运行?