tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose María Zaragoza <demablo...@gmail.com>
Subject Re: ChunkedInputFilter: No data available due to previous error
Date Fri, 17 Oct 2014 06:29:48 GMT
2014-10-15 13:33 GMT+02:00 Jose María Zaragoza <demablogia@gmail.com>:

>
> Hello:
>
> I'm using Tomcat 6.0.24 and sometimes I'm getting an IOException like :
>
> Caused by: java.io.IOException: No data available due to previous error
>         at
> org.apache.coyote.http11.filters.ChunkedInputFilter.checkError(ChunkedInputFilter.java:588)
> ~[tomcat-coyote-6.0.24.jar:na]
>         at
> org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(ChunkedInputFilter.java:153)
> ~[tomcat-coyote-6.0.24.jar:na]
>         at
> org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710)
> ~[tomcat-coyote-6.0.24.jar:na]
>         at org.apache.coyote.Request.doRead(Request.java:428)
> ~[tomcat-coyote-6.0.24.jar:na]
>         at
> org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:304)
> ~[catalina-6.0.24.jar:na]
>         at
> org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:405)
> ~[tomcat-coyote-6.0.24.jar:na]
>         at
> org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:327)
> ~[catalina-6.0.24.jar:na]
>         at
> org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
> ~[catalina-6.0.24.jar:na]
>         at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:154)
> ~[cxf-api-2.7.8.jar:2.7.8]
>         at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:104)
> ~[cxf-api-2.7.8.jar:2.7.8]
>         at
> org.apache.cxf.helpers.IOUtils.copyAndCloseInput(IOUtils.java:110)
> ~[cxf-api-2.7.8.jar:2.7.8]
>         at
> org.apache.cxf.interceptor.LoggingInInterceptor.logging(LoggingInInterceptor.java:158)
> ~[cxf-api-2.7.8.jar:2.7.8]
>         ... 24 common frames omitted
>
>
> I cannot see the request that throws this error
> I don't know if it's caused by a malformed request
>
> The requests (which are fine )  usually are POST requests with
>
> Http-Method: POST
> Content-Type: text/xml; charset=utf-8
> Headers: {Accept=[text/html, image/gif, image/jpeg, */*; q=.2],
> connection=[Keep-Alive], content-type=[text/xml; charset=utf-8],
> host=[x.x.x.x], transfer-encoding=[chunked], user-agent=[Java1.6.0_20]}
>
> Could be a malformed request ? How I could see it ? ( I guess tcpdump ...)
> Any known bug in 6.0.24 ?
>
> Thanks
>




Hello:

Finally this issue was caused by a malformed chunked request

Regards

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