| Question | How to solve the "Form too large" error in Jetty? |
| Answer |
This happens because Jetty has a default POST accepted size a bit too small. The good thing is that it can be customized!
To do this, edit the startup script (start_xwiki.sh on *nix systems or start_xwiki.bat on windows) and add to the JAVA_OPTS parameter the following:
-Dorg.mortbay.http.HttpRequest.maxFormContentSize=1000000 JAVA_OPTS=-Xmx512m -Dorg.mortbay.http.HttpRequest.maxFormContentSize=1000000 |
Version 1.1 last modified by Sergiu Dumitriu on 05/03/2008 at 01:24
Document data
Attachments:
No attachments for this document
Comments: 0