My Oracle Support Banner

Office 2007 Documents in WCC Are Corrupt When Downloaded From WebCenter Spaces, Error: "java.net.ProtocolException" (Doc ID 1347885.1)

Last updated on NOVEMBER 06, 2023

Applies to:

Oracle WebCenter Portal - Version 11.1.1.5.0 to 11.1.1.8.3 [Release 11g]
Information in this document applies to any platform.

Symptoms


In WebCenter Space 11.1.1.5.0 integrated with WebCenter Content Server (UCM), uploading an Office 2007 Document in Document task list in WebCenter Spaces, and then downloading it results in the file being corrupted.
The following error is seen in the log:

ERROR
-----------------------
####<Jul 25, 2011 3:41:14 PM EST> <Error> <HTTP> <HOSTNAME> <WC_Spaces> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <ID> <BEA-101104> <Servlet execution in servlet context "ServletContext@334083172[app:webcenter module:/webcenter path:/webcenter spec-version:2.5 version:11.1.1.4.0]" failed, java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '8213' bytes instead of stated: '10219' bytes..
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '8213' bytes instead of stated: '10219' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:446)
at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1432)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1511)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1462)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

 

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
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.