Monday, January 1, 2018

BEA-000403 MaxMessageSizeExceededException: Incoming message of size: '10000080' bytes exceeds

Problem

Error received during OSB deployment:
<May 2, 2017 7:13:01 PM GMT> <Error> <Socket> <BEA-000403> <IOException occurred on socket: Socket[addr=osbhost1.raastech.com/192.168.0.30,port=7001,localport=57684]
weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '10000080' bytes exceeds the configured maximum of: '10000000' bytes for protocol: 't3'.
weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '10000080' bytes exceeds the configured maximum of: '10000000' bytes for protocol: 't3'
        at weblogic.socket.BaseAbstractMuxableSocket.incrementBufferOffset(BaseAbstractMuxableSocket.java:230)
        at weblogic.rjvm.t3.MuxableSocketT3.incrementBufferOffset(MuxableSocketT3.java:369)
        at weblogic.socket.SocketMuxer.readFromSocket(SocketMuxer.java:984)
        at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:920)
        at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:887)
        at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:343)
        at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
        at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
>
 
Solution

1. Navigate to Servers > AdminServer > Protocols and "Enable Tunneling"

2. Make this change to the envcode.properties file (or equivalent) when deploying (basically, use HTTP instead of T3):
OLD: osbAdminUrl=t3://192.168.0.30:7001

NEW: osbAdminUrl=http://192.168.0.30:7001

Applicable Versions
  • Oracle WebLogic Server 11g (11.1.1.9.0)
  • Oracle Service Bus (OSB) 11g (11.1.1.9.0)

 

No comments: