My Oracle Support Banner

Error In WebLogic Server - "java.net.ProtocolException: Exceeding Stated Content Length Of [Bytes]" (Doc ID 3036594.1)

Last updated on JULY 23, 2024

Applies to:

Oracle WebLogic Server for OCI - Version 12.2.1.4 and later
Oracle WebLogic Server - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

In the ERP Cloud Production, when sending the request XML using an external Web Service, the generated file cannot be sent due to the limitation of the maximum file size. java.net.ProtocolException: Exceeding stated content length of [Bytes] exception is thrown in the logs. Issue still persists even after adding the chunk parameters to the WebLogic Server startup script:

-Dweblogic.Chunksize=65535
-Dweblogic.utils.io.chunkpoolsize=4096
-Dweblogic.PartitionSize=8


 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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