关闭

报错Software caused connection abort: socket write error

标签: 文件下载时报错Software caused connIDEA工具tomcat7.0
947人阅读 评论(0) 收藏 举报
分类:
ClientAbortException:  java.net.SocketException: Software caused connection abort: socket write error
	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:407)
	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:342)
	at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:432)
	at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:420)
	at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
	at cn.rh.controller.FileController.downloadFile(FileController.java:78)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at cn.rh.controller.myCORSFilter.doFilter(myCORSFilter.java:45)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Software caused connection abort: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
	at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:240)
	at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
	at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192)
	at org.apache.coyote.Response.doWrite(Response.java:499)
	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:402)
	... 51 more


0
0
查看评论
发表评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场

关于ECONNRESET的问题处理

有几次我的andorid客户端报错:IOException:java.net.SocketException: recvfrom failed: ECONNRESET (Connection rese...
  • Oliverzzj
  • Oliverzzj
  • 2014-03-21 11:26
  • 8218

socket异常及原因分析

Connection reset by peer  web 程序的服务器段,在链接数据库的时候被同一个“对等点”重置了。对等点重置的意思其实就是被同一个权限相同的管理员或者是程序给强制占用了权限,好...
  • yu412346928
  • yu412346928
  • 2014-11-18 21:44
  • 3787

Xcode8更新后的一些问题解决

1.common+/ 不能注释了 这个是因为苹果解决xcode ghost。把插件屏蔽了。解决方法 命令运行:  sudo /usr/libexec/xpccachectl  然后必须重启电脑后...
  • COOL_BEAR_XX
  • COOL_BEAR_XX
  • 2016-09-19 16:43
  • 11135

Official reasons for "Software caused connection abort: socket write error"

osgi> log4j:ERROR Could not connect to remote log4j server at [localhost]. We will try again later. ...
  • luoshenhappy99
  • luoshenhappy99
  • 2011-08-23 13:57
  • 2631

Caused by: java.net.SocketException: Software caused connection abort: socket write error

1、错误描述 [ERROR:]2015-05-06 10:54:18,967 [异常拦截] ClientAbortException: java.net.SocketException: Soft...
  • you23hai45
  • you23hai45
  • 2015-05-06 23:02
  • 2293

network error:software caused connection abort解决办法

昨天,新开了一个VPS,在反复装lnmp的时候一直因为一个错误提示而被迫终止,而且我也因此找了很多方法,其中一个是把sshd_config这个文件里面增加一个值:TCPKeepAlive yes,我没...
  • l1028386804
  • l1028386804
  • 2015-01-05 21:04
  • 3829

putty中出现Network error:Software caused connection abort 的解决办法

当我正在兴致勃勃的敲代码时,这个时候居然给我来了一个关于putty的bug,(⊙o⊙)…。。。我那可爱的代码啊,记得要及时的保存啊。来看看这个家伙怎么解决吧
  • u011401496
  • u011401496
  • 2014-08-13 18:55
  • 9094

Error code 10053,Software caused connection abort.总结

发现问题的应用场景   C/S结构程序,请求响应采用异步机制。即客户端发送一个请求后不是一直等待这个结果,客户端将请求存放在请求队列并获得一个JOBID,服务器运行后将运行结果存放在响应队列,客户端...
  • gzh0222
  • gzh0222
  • 2012-01-13 15:44
  • 7701

putty提示Network error:Software caused connection abort

在使用putty管理阿里云的ECS时,提示 网络错误:软件连接终止引起的        既然有了这个现象,那么就一定有原因的,自己想想肯定是关乎远程连接方面的问题,于是到网上查查看前...
  • dull_boy2
  • dull_boy2
  • 2015-01-24 11:40
  • 21856

Putty出现 Network error:Software caused connection abort

一、putty發生 network error   今天我在xp下使用putty ssh進入 我的ubuntu主機,發生了連線問題,每次putty皆顯示 network error sof...
  • wuzhongdehua1
  • wuzhongdehua1
  • 2014-04-29 22:32
  • 972
    个人资料
    • 访问:7846次
    • 积分:119
    • 等级:
    • 排名:千里之外
    • 原创:4篇
    • 转载:1篇
    • 译文:0篇
    • 评论:3条
    文章分类
    文章存档