File attachment upload error in EBS

set FND: Diagnostics to YES for user .
Run the same steps and it will give java memory error.

------------------------------------------------------------------------------------------------------------

1) Modify your profile Upload File Size Limit ( To handle the threshold of the filesize.): I set mine to 1020000
(Eventually, I would suggest setting this at a user level so you can manage users trying to upload files,
and possibly only have special users have the privs to upload such large files. But the Site level is fine
for your testing.)

2) Increase your oacore managed server to 8 GB. Requires weblogic server console, and Applications bounce.
--> Lock & Edit

Nav: WebLogic Console --> Environment --> Servers --> oacore_server_# --> Server Start -->
Arguments: -Xms8192m -Xmx8192m

--> Save
--> Save changes.

Note: WLS will say a bounce is not required, however IT IS required.


3) Make a backup of your [ security2.conf ] file located under [ $IAS_ORACLE_HOME/instances/EBS*/config/OHS/EBS*/ ]


4) Make the following changes.


BEFORE:

...

#<IfModule mod_security2.c>
<IfModule security2_module>

SecRuleEngine On
SecRequestBodyAccess On
SecResponseBodyAccess Off

# Be careful about turning audit On on a production system
...


AFTER:

...

#<IfModule mod_security2.c>
<IfModule security2_module>

SecRuleEngine On
SecRequestBodyAccess On
SecResponseBodyAccess Off
SecRequestBodyLimit 1047527424 <-- add this line..

# Be careful about turning audit On on a production system
...
see sample file for detailed explanation 


5) Increase the WLIOTimeoutSecs parameter to avoid the "Request Entity Too Large" error.
Refer to Note:2114575.1
-----------From 2114575.1-----
Oracle E-Business Suite Technology Stack - Version 12.2.4 to 12.2.5 [Release 12.2]
Oracle Application Object Library - Version 12.2.6 to 12.2.6 [Release 12.2]
Information in this document applies to any platform.

To resolve the issue, test the following changes in a development instance and then migrate accordingly:

1. Modify the mod_wl_ohs.conf in the  ORACLE_INSTANCE/config/OHS/component_name  directory

2. Set the WLIOTimeoutSecs property to 900

...

<IfModule weblogic_module>

          ...
          WLIOTimeoutSecs 900
          ...
</IfModule>
...
--------------------------

6) Bounce applications to include WLS.

$ADMIN_SCRIPTS_HOME/adstpall.sh apps / <apps pw>
$ADMIN_SCRIPTS_HOME/adstrtal.sh apps / <apps pw>


7) Retest uploading one of the files in question to verify successful upload. 

Comments