tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aggarwal, Ajay" <>
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"




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. Invalid chunk header

        at org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(

        at org.apache.coyote.http11.InternalInputBuffer.doRead(

        at org.apache.coyote.Request.doRead(

        at org.apache.catalina.connector.InputBuffer.realReadBytes(

        at org.apache.tomcat.util.buf.ByteChunk.substract(



        ...... [ my servlet ]

        at javax.servlet.http.HttpServlet.service(

        at javax.servlet.http.HttpServlet.service(

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(

        at org.apache.catalina.core.StandardWrapperValve.invoke(

        at org.apache.catalina.core.StandardContextValve.invoke(

        at org.apache.catalina.core.StandardHostValve.invoke(

        at org.apache.catalina.valves.ErrorReportValve.invoke(

        at org.apache.catalina.core.StandardEngineValve.invoke(

        at org.apache.catalina.connector.CoyoteAdapter.service(

        at org.apache.coyote.http11.Http11Processor.process(

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(


        at Source)


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