JFinal

登录 注册

浏览器访问后台出现java.net.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


评论

  • 01-12 17:49
    设置下超时时间,默认时间过短,如果自带的满足不了,你就自己重写扩展下,或用就第三方的HttpClient等来调用就成了。
  • 01-12 17:58
    @lyh061619 请问访问超时就算了有些电脑会浏览器崩溃回事什么原因····
  • 01-12 18:09
    崩溃?ie6?
  • 01-12 18:10
    崩溃?那你得检查下你前端用的js特性在浏览器是上否有不支持的f12走一遍看下
  • 发送