Tuesday, 10 July 2012

Resolving MaxMessageSizeExceededException Errors Caused By Large Payloads:


If  a large payload  is provided (for example, 12 MB) to a deployed SOA composite application, then click View XML Document in the audit trail to view the payload, you can encounter MaxMessageSizeExceededException errors. This error can be resolved by setting the following JVM parameter.

Open the following file:

 1.     On UNIX operating systems, open   $MIDDLEWARE_HOME/user_projects/domains/domain_name/bin/setDomainEnv.sh.

2.     Add the weblogic.MaxMessageSize property with the following value:

3.     EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES}

4.     -Dweblogic.MaxMessageSize=20000000"


5.     export EXTRA_JAVA_PROPERTIES.


============================================================================

1 comment:

  1. wow..thats great..i was looking for this from so many days..thanks Arshi...

    ReplyDelete