My Oracle Support Banner

OSB-382103 - InvalidContentLengthException (Doc ID 2734339.1)

Last updated on MAY 23, 2023

Applies to:

Oracle Service Bus - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.4.0 version, OSB Core Functionality

When attempting to execute an operation to retrieve list of users from an external vendor's service
the following error occurs.

ERROR
-----------------------
[2020-11-18T10:56:17.477-06:00] [osb_server1] [ERROR] [OSB-382191] [oracle.osb.pipeline.kernel.router] [tid: [ACTIVE].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ] [ecid: 96071c5b-1ca3-4fb4-af4d-81a00ada04eb-00000d0b,0] [APP: Service Bus Test Framework] [partition-name: DOMAIN] [tenant-name: GLOBAL] LMS/ProxyServices/SumTotalServicesPipeline: Unhandled error caught by system-level error handler: com.bea.wli.sb.context.BindingLayerException: Failure in binding-layer while processing outbound response for service LMS/ProxyServices/SumTotalServicesPipeline: com.bea.wli.sb.sources.InvalidContentLengthException: Content length is larger than maximum, 10243348 bytes, allowed 10240000[[
com.bea.wli.sb.context.BindingLayerException: Failure in binding-layer while processing outbound response for service LMS/ProxyServices/SumTotalServicesPipeline: com.bea.wli.sb.sources.InvalidContentLengthException: Content length is larger than maximum, 10243348 bytes, allowed 10240000
at com.bea.wli.sb.context.ContextUtils.newException(ContextUtils.java:932)
at com.bea.wli.sb.context.OutboundBindingLayerImpl.bindResponse(OutboundBindingLayerImpl.java:325)
at com.bea.wli.sb.pipeline.MessageProcessor.processResponse(MessageProcessor.java:247)
at com.bea.wli.sb.pipeline.RouterCallback.handleResponse(RouterCallback.java:104)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.OutboundResponseMetadataHandler.handleResponse(OutboundResponseMetadataHandler.java:52)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:292)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:292)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:292)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.ResultCachingHandler.handleResponse(ResultCachingHandler.java:150)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:292)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:292)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.OutboundMessageContentHandler.handleResponse(OutboundMessageContentHandler.java:89)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:292)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.LoadBalanceFailover$LoadBalanceFailoverHelper.handleResponse(LoadBalanceFailover.java:510)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.UpdateOutboundStatistics.handleResponse(UpdateOutboundStatistics.java:88)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:292)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.OutboundMessageTracing.handleResponse(OutboundMessageTracing.java:125)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:292)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.EndpointManagementHandler.handleResponse(EndpointManagementHandler.java:122)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:292)
at com.bea.wli.sb.service.handlerchain.handlers.TransportProviderInvoker$ServiceTransportListener.onReceiveResponse(TransportProviderInvoker.java:325)
at com.bea.wli.sb.transports.http.wls.HttpOutboundMessageContextWls$RetrieveHttpResponseWork.handleResponse(HttpOutboundMessageContextWls.java:150)
at weblogic.net.http.AsyncResponseHandler$MuxableSocketHTTPAsyncResponse$RunnableCallback.run(AsyncResponseHandler.java:553)
at weblogic.work.ContextWrap.run(ContextWrap.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused by: java.io.IOException: com.bea.wli.sb.sources.InvalidContentLengthException: Content length is larger than maximum, 10243348 bytes, allowed 10240000
at com.bea.wli.sb.transports.http.FullyConsumedInputStream.read(FullyConsumedInputStream.java:85)
at com.bea.wli.sb.sources.BufferedSingleUseInputStream.read(BufferedSingleUseInputStream.java:130)
at com.bea.wli.sb.sources.BufferedSingleUseInputStream.read(BufferedSingleUseInputStream.java:92)
at com.bea.wli.sb.util.ReusableDataSourceMemoryBuffer.readUntil(ReusableDataSourceMemoryBuffer.java:242)
at com.bea.wli.sb.util.ReusableDataSourceMemoryBuffer.fetchAll(ReusableDataSourceMemoryBuffer.java:208)
at com.bea.wli.sb.sources.LazilyBufferedSource.fetchAll(LazilyBufferedSource.java:103)
at com.bea.wli.sb.context.OutboundBindingLayerImpl.getMessageContent(OutboundBindingLayerImpl.java:446)
at com.bea.wli.sb.context.OutboundBindingLayerImpl.bindResponse(OutboundBindingLayerImpl.java:289)
... 40 more
Caused by: com.bea.wli.sb.sources.InvalidContentLengthException: Content length is larger than maximum, 10243348 bytes, allowed 10240000
... 48 more



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
References


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