Table of contents: Announcements & Notifications Not possible to create/update an announcement with large content Symptoms
There is no maximum limit stipulated on an announcement size in GDPR and Security app. However, if an announcement is very large, a user may experience two problems:
to create a new announcement, some “Error 500” warning occurs on the “Create Announcement” page.
to update a new announcement, some “Error 500” warning occurs on the “Create Announcement” page. Cause
This error manifests for large announcements, on the order of 2 MB or more. Apache Tomcat 5, by default, sets the maximum size of the acceptable HTTP POST request to 2MB.
You can reconfigure Tomcat to accept larger requests. This can be done by increasing the allowable limit or just simply disabling this functionality.
Set the Tomcat configuration parameter
for the HTTPConnector to a larger value (in bytes) to increase the limit. Setting it to maxPostSize 0 will disable the size check.
Tomcat Configuration Reference for more information:
maxPostSize - "The maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. The feature can be disabled by setting this attribute
to a value inferior or equal to 0. If not specified, this attribute is set to 2097152 (2 megabytes)."
If using Apache web server, add the same parameter to the AJP connector instead.