My Oracle Support Banner

WLS 10.3.1 - [ failed to read '2' bytes from InputStream; clen] -Fileservlet Does Not Deliver Full Files (Doc ID 1374049.1)

Last updated on SEPTEMBER 13, 2021

Applies to:

Oracle WebLogic Server - Version 10.3.1 and later
Information in this document applies to any platform.


FileServlet either returned files that are chopped off or returned the following error: failed to read '20' bytes from InputStream; clen: 208411 remaining: 20 count: 719

The entire stack trace is the following

Solution in such scenario's is to set the "resource-reload-check-secs" parameter to "0," so that WLS always reloads the latest updated file.

and increasing Chunksize parameter -Dweblogic.Chunksize=XXXX

However having both of above settings did not help.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.