报错:
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>
参考:
百度java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
http://www.tuicool.com/articles/ryiA3y