HTTP-500-Form too large error

Hi,
I am trying to submit a form and getting http error:500-Form too large.

Where can i increase the maximum form content size allowed??

Thanks,
Sunny

Please set the "org.mortbay.http.HttpRequest.maxFormContentSize " system property.
You can use the [MWS Install Directory]/server/default/config/portal.properties file to configure system properties.
So you could set the maxFormContentSize to a little less than 1 MB by adding the following line to portal.properties (and restarting mws):

org.mortbay.http.HttpRequest.maxFormContentSize = 1000000

Please let me know if this help.

2 Likes

Hi,

On version 9.5, there’s no such file.
Change it on ./deploy/portal.war/WEB-INF/jetty8-web.xml by setting this property: 1000000

Bruno

1 Like