报错:
java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
at org.eclipse.jetty.server.HttpConnection.blockingWrite(HttpConnection.java:449)
at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:389)
at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:638)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:199)
at org.springframework.util.FileCopyUtils.copy(FileCopyUtils.java:113)
at org.springframework.web.servlet.re
解决:
vi start.ini
#http.timeout=3000(注释该行之后测试仍然有该报错)
vi etc/jetty-http.xml(把30000ms改成1200000ms)
<Set name="idleTimeout"><Property name="http.timeout" default="1200000"/></Set>
本文转自 guowang327 51CTO博客,原文链接:http://blog.51cto.com/guowang327/1760784,如需转载请自行联系原作者