多个文件上传后台报的错.multipart.MultipartException,SocketTimeoutException

Caused by: java.net.SocketTimeoutException

at org.apache.tomcat.util.net.NioBlockingSelector.read(NioBlockingSelector.java:202)

at org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:250)

at org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:231)

at org.apache.coyote.http11.InternalNioInputBuffer.fill(InternalNioInputBuffer.java:133)

at org.apache.coyote.http11.InternalNioInputBuffer$SocketInputBuffer.doRead(InternalNioInputBuffer.java:177)

at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:110)

at org.apache.coyote.http11.AbstractInputBuffer.doRead(AbstractInputBuffer.java:414)

at org.apache.coyote.Request.doRead(Request.java:476)

at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:350)

at org.apache.catalina.connector.InputBuffer.realReadChars(InputBuffer.java:413)

at org.apache.tomcat.util.buf.CharChunk.substract(CharChunk.java:368)

at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:476)

at org.apache.catalina.connector.CoyoteReader.read(CoyoteReader.java:108)

at org.apache.catalina.connector.CoyoteReader.readLine(CoyoteReader.java:163)

at com.jfinal.kit.HttpKit.readData(HttpKit.java:251)

... 24 more


评论区

JFinal

2019-01-12 16:45

超时了,设置一下 tomcat 网络连接的超时时长

热门反馈

扫码入社