Hi,
I have requirement to upload more than 2gb (up to 20gb) sized file to our application, which is deployed in weblogic and is running behind OHS 11.1.1.7.0. When uploading file directly to weblogic url, I am able to upload up to 20gb+ file, but when uploading even 2.5gb file via OHS's url, its connection is getting terminated roughly around at 50% progress. Less than 2gb file are fine. When checking server log file /Oracle/MiddlewareWT/Oracle_WT1/instances/instance1/diagnostics/logs/OHS/ohs1/ohs1.log, it says...
[2015-05-13T12:25:56.1509-07:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [client_id: 139.185.47.42] [host_id: slc05gkb] [host_addr: 10.240.124.115] [tid: 139695925212928] [user: root] [ecid: 0055ViKWmMZ2nJGpIwK6yf00042f0000Wi] [rid: 0] [VirtualHost: main] Invalid Content-Length <2629532320> in WLS request, referer: http://<remaining_url>
As per http://docs.oracle.com/cd/E28280_01/web.1111/e10144/config_mod_sec.htm#CIHDAHJI, I tried enabling mod_security, and setting following variables upto 20gb limit (20x1024x1024x1024), but his apparently has not effect.
SecRequestBodyLimit 21474836480
SecRequestBodyNoFilesLimit 21474836480
I also tried with LimitRequestBody directive in httpd.conf, as per core - Apache HTTP Server Version 2.2
LimitRequestBody 21474836480
Do anybody know, what is the problem here exactly, and how to resolve it?
Thanks.