Hello,

Our application is currently using Tomcat 5.5.25 with jdk 1.5.0_13 (32-bit) and 
tcnative 1.1.20 (32-bit) on windows. While handling POSTS/PUT requests for 
large files ( < 2gb ), it frequently experiences timeouts. This happens on 
different windows platforms ( windows 7, windows 2003/2008 both 32 and 64 bit). 
So, it doesn't seem specific to any windows version.

Below is the complete 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].[fileService]
 - Servlet.service() for servlet fileService 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.corp.vdas.util.nio.NIOUtils.channelCopy(NIOUtils.java:33)
    at 
com.corp.vdas.rcos.handler.impl.PutPathHandler.handleRequest(PutPathHandler.java:90)
    at com.corp.vdas.rcos.handler.PathHandler.handlePath(PathHandler.java:116)
    at 
com.corp.vdas.service.impl.ObjectStoreService.doExecute(ObjectStoreService.java:112)
    at com.corp.vdas.service.impl.BaseService.execute(BaseService.java:44)
    at com.corp.vdas.servlet.BeanServlet.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.corp.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)

Any help would be appreciated.

Thanks,

Moiz
                                          

Reply via email to