[seek-dev] [Bug 5246] HTTP response code: 500 when trying to upload large KAR through kepler

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Nov 17 16:11:04 PST 2010


Jing Tao <tao at nceas.ucsb.edu> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |tao at nceas.ucsb.edu
         Resolution|                            |FIXED
         AssignedTo|jones at nceas.ucsb.edu        |tao at nceas.ucsb.edu

--- Comment #1 from Jing Tao <tao at nceas.ucsb.edu> 2010-11-17 16:11:03 PST ---
I searched online and found:

Apache Tomcat by default sets a limit on the maximum size of HTTP POST requests
it accepts. In Tomcat 5, this limit is set to 2 MB. When you try to upload
files larger than 2 MB, this error can occur.

The solution is to reconfigure Tomcat to accept larger POST requests, either by
increasing the limit, or by disabling it. This can be done by editing
[TOMCAT_DIR]/conf/server.xml. Set the Tomcat configuration parameter
maxPostSize for the HTTPConnector to a larger value (in bytes) to increase the
limit. Setting it to 0 in will disable the size check.

So on kepler-dev, i added a new parameter - maxPostSize with value equaling 0
on connect 8009. Then I asked derik to test. It worked.

Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the Seek-dev mailing list