我有一个基于Tomcat的web应用程序。我间歇性地得到以下异常,
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at org.a
从spring -hibernate应用程序中,我们触发了一个存储过程,该存储过程大约需要30分钟才能完成execute..when,然后spring尝试提交事务,因为我们使用的是spring事务管理,它失败了,并出现以下异常,说明连接已关闭。
我们使用的是tomcat服务器,应用程序中的连接在Tomcat JDBC连接池中进行管理。
Caused by: org.springframework.transaction.TransactionSystemException: Could not commit Hibernate transaction; nested exception is
我试图从java客户端调用我的远程tomcat服务器,但我间歇性地将SocketTimeoutException:连接超时。()
这是堆栈跟踪
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:382)
at java.net.PlainSock
当我试图从tomcat服务器上的可用资源获取数据时,我的应用程序超时。我可以看到DB query是罪魁祸首,因为它在100秒内发送数据,因为它正在处理大量数据。我的请求在60秒内超时,导致以下错误 Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request
Reason: Error reading from remote server 我使用mod_proxy从Apache web服务器连接到