tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aggarwal, Ajay" <Ajay.Aggar...@stratus.com>
Subject IOException: Invalid chunk header
Date Wed, 22 Dec 2010 15:22:53 GMT
I am using standard HTTP 1.1 connector. This is what I see from tomcat output

Ø  INFO [main] 2010-12-22 07:43:03,071 org.apache.coyote.http11.Http11Protocol - Initializing
Coyote HTTP/1.1 on http-9080

 

And here is the connector configuration element from server.xml

             <Connector port="9080" protocol="HTTP/1.1"

               connectionTimeout="20000"

               />

 

I have a java application that uses HTTP post to stream a large file (50Gb+).  This large
file is received and processed by my servlet running in Tomcat. I am seeing following error
in tomcat. What could be the possible reasons for this error? I have tried googling for this
error, but no luck so far.

 

java.io.IOException: Invalid chunk header

        at org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(ChunkedInputFilter.java:133)

        at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710)

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

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

        at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:405)

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

        at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:193)

        ...... [ my servlet ]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)

        at java.lang.Thread.run(Unknown Source)

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message