You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/12/10 14:50:32 UTC
DO NOT REPLY [Bug 50452] New: java.net.SocketTimeoutException:
Exception filling buffer with data from underlying input stream: not an
EAGAIN status, so perhaps disconnected client?
https://issues.apache.org/bugzilla/show_bug.cgi?id=50452
Summary: java.net.SocketTimeoutException: Exception filling
buffer with data from underlying input stream: not an
EAGAIN status, so perhaps disconnected client?
Product: Tomcat 5
Version: 5.5.25
Platform: PC
Status: NEW
Severity: major
Priority: P2
Component: Connector:HTTP
AssignedTo: dev@tomcat.apache.org
ReportedBy: moizd@hotmail.com
I am seeing this with POST requests for uploading large files > 2gb to tomcat.
Our application frequently needs to handle such large file transfers.
I am running tomcat 5.5.25 with the following:
java:jdk 1.5.0_13 (32-bit)
tcnative:1.1.20
Windows: Win7 64-bit, Win7 32-bit, 2008 64-bit. The OS doesn't seem relevant it
happens on all of them.
Below is the stack trace:
2010-12-09 22:40:33,758 [http-0.0.0.0-9090-2] ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/backup].[rcosFileService]
- Servlet.service() for servlet rcosFileService threw exception
java.net.SocketTimeoutException: Exception filling buffer with data from
underlying input stream: not an EAGAIN status, so perhaps disconnected client?
at
org.apache.coyote.http11.InternalAprInputBuffer.fill(InternalAprInputBuffer.java:827)
at
org.apache.coyote.http11.InternalAprInputBuffer$SocketInputBuffer.doRead(InternalAprInputBuffer.java:858)
at
org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:116)
at
org.apache.coyote.http11.InternalAprInputBuffer.doRead(InternalAprInputBuffer.java:773)
at org.apache.coyote.Request.doRead(Request.java:419)
at
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:265)
at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:403)
at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:280)
at
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:193)
at
java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:196)
at com.ringcube.vdas.util.nio.NIOUtils.channelCopy(NIOUtils.java:33)
at
com.ringcube.vdas.rcos.handler.impl.PutPathHandler.handleRangeRequest(PutPathHandler.java:90)
at
com.ringcube.vdas.rcos.handler.PathHandler.handlePath(PathHandler.java:116)
at
com.ringcube.vdas.service.impl.ObjectStoreService.doExecute(ObjectStoreService.java:112)
at com.ringcube.vdas.service.impl.BaseService.execute(BaseService.java:44)
at com.ringcube.vdas.servlet.BurritoServlet.service(BurritoServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
at
com.ringcube.vdas.security.filters.RCOSAuthenticationFilter.doFilterHttp(RCOSAuthenticationFilter.java:58)
at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:834)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
at java.lang.Thread.run(Thread.java:595)
This maybe be a duplicate or may have been resolved. I just' can't tell when
from the Tomcat 5.x changelogs.
Any help would be appreciated.
Thank you.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50452] java.net.SocketTimeoutException: Exception
filling buffer with data from underlying input stream: not an EAGAIN status,
so perhaps disconnected client?
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50452
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
OS/Version| |All
--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-12-10 08:55:42 EST ---
Bugzilla is not a support forum. Please use the users mailing list.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org