Add large number of users to group - Form Too Large

Add large number of users to group - Form Too Large

The customer was trying to add a member to a group which has lots of users already. They got "script running slowly" messages, however,
users were finally added. The customer then tried adding them in a few at a time, On the last bunch after clicking save it was attempting to save the changes and the message "Form too Large" java error. 

Form too large330000>200000 Caused by: java.lang.IllegalStateException: Form too large330000>200000 

There would be approximately 3300 students to be added. With the error I lost many students already added.



The workaround is add the following parameter to stoneware\bin\webnetwork.lax on the additional parameter line: 

wN 5.x: 
-Dorg.mortbay.jetty.Request.maxFormContentSize=xxxxxxx 

wN 6.x: 
-Dorg.eclipse.jetty.server.Request.maxFormContentSize=xxxxxx 

**As of 6.3.0.x, there is now a "Maximum Post" field in the 8090 console (on the Settings tab) that can be used to increase the maximum form content size.

The default is 20000 bytes. If you use IE watch and click on the group you will see how many bytes that group used, you then set the max to something higher than that number. 


The same thing can happen when submitting any large form/page to webNetwork. 

The ramifications of changing this are that in a denial of service attack someone may try to keep posting large amounts of data. The server has to process that request before it can say, denied. Doing this over and over can cause a slowdown on the server. That is why the default is roughly the same for most web servers like Apache and IIS.