【发布时间】:2014-02-04 18:33:37
【问题描述】:
我在 Grails 中创建了一个 Web 应用程序,它部署在 Tomcat 7 服务器上。该应用程序读取一个 csv 文件并执行一些繁重的操作,其中请求可能需要 5-10 分钟才能完成。在一小部分数据上运行时,应用程序运行良好。但是,如果我使用大量数据,并且请求大约需要 3 分钟以上,我会收到以下错误:
Network Error (tcp_error)
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other
problems preventing it from responding to requests.
You may wish to try again at a later time.
这是 Tomcat 的问题吗?还是基于客户端浏览器属性的超时?
我尝试在 Tomcat 的 server.xml 中设置 connectionTimeout 和 disableUploadTimeout 属性,但到目前为止还没有成功。
任何帮助将不胜感激!
【问题讨论】:
标签: tomcat grails connection timeout