Bug 47773 - Redirect hangs when request size is greater than around 39 MB
Summary: Redirect hangs when request size is greater than around 39 MB
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: All (show other bugs)
Version: 2.2-HEAD
Hardware: Sun Solaris
: P1 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2009-08-31 15:37 UTC by kamil.kapadia
Modified: 2009-09-01 09:20 UTC (History)
1 user (show)

Apache access log output (4.27 KB, text/plain)
2009-08-31 15:37 UTC, kamil.kapadia

Note You need to log in before you can comment on or make changes to this bug.
Description kamil.kapadia 2009-08-31 15:37:39 UTC
Created attachment 24195 [details]
Apache access log output

I am using Apache 2.2 and WebLogic 10.1.

This is what is happening:
I upload a file from a form on a JSP (and Apache Commons FileUpload is used to
upload the file). Once the upload is complete, it is supposed to redirect me to
a page that says that the upload has completed.  When the file is around 39 MB
or larger, the upload page just hangs (even though the file has been uploaded,
and the code that redirects has been executed). I looked at the access logs,
and I never see the request for the redirect.

If the file is smaller (like 36 MB) the upload works fine, and I see the
confirmation page, and the redirect request in the access logs.

I tried hitting all of the instances (we have 4 total) directly (not going
through Apache), and I was able to upload some large files (40 MB, and 100 MB)
successfully.  As soon as I go through Apache again, this stops working...

This problem is always reproducible, and I have reproduced it using FireFox
3.5.2 and Internet Explorer 7.0.5730.11.

More information:
We are using 2 Apache Web Servers, and have 4 WebLogic instances on two

I have attached some output from the access logs.
Comment 1 Ruediger Pluem 2009-09-01 00:28:54 UTC
How do you connect apache with Weblogic? Do you use the Weblogic plugin?
Comment 2 kamil.kapadia 2009-09-01 08:31:59 UTC
Yes, we are using the Weblogic plugin.

In the httpd.conf files we have:

LoadModule weblogic_module      /opt/apache/server/modules/mod_wl_22.so

<LocationMatch "(?!\/portal\/console)(?!\/portal\/templates\/template0036)\/portal">
    SetHandler weblogic-handler
    Idempotent OFF
    WebLogicCluster sfqai1-z2:7023,sfqai2-z2:7023
    ErrorPage http://www.test.businesswire.com/servererror.html
    WLSocketTimeoutSecs 10
    KeepAliveEnabled ON
    KeepAliveSecs 30
Comment 3 Nick Kew 2009-09-01 09:20:34 UTC
You're using a third-party product we can't see inside.  Please contact your vendor.  Or re-open this report if you can reproduce the problem using an Apache product such as mod_proxy or mod_jk instead of the plugin.