https://bz.apache.org/bugzilla/show_bug.cgi?id=60410
Bug ID: 60410
Summary: Stream closed when reading war entry
Product: Tomcat 8
Version: 8.0.33
Hardware: PC
OS: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
When the application is deployed as "unpackWAR=false", sometimes I try to
download a js file which is over than 2MB, ERR_CONTENT_LENGTH_MISMATCH will be
thrown on the front end, I use Chrome.
I checked accesslog and found the file's content length is less than it is when
the exception thrown.
Here's the stacktrace I found in the log file:
java.io.IOException: Stream closed
at
java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
at
java.util.zip.InflaterInputStream.read(InflaterInputStream.java:142)
at
org.apache.catalina.webresources.AbstractArchiveResource$JarInputStreamWrapper.read(AbstractArchiveResource.java:255)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at
org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:2125)
at
org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1971)
at
org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:968)
at
org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:398)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]