Tomcat (activity page) throws an error – is exceeding the 65535 bytes limit
Solution on stack overflow
Not able to add attributes (Add Attribute in MetaData Editor does not work)
possibly hitting max post size limit – default is 2MB. Increase it in server.xml (tomcat conf file)
<Connector port=”8080″ protocol=”HTTP/1.1″ connectionTimeout=”20000″ redirectPort=”8443″ maxPostSize = “4194304” /> (4 Mb or higher)
Increasing JVM memory in Tomcat
Include the following catalina.sh in Tomcat bin directory (min 512 MB and max 2048 MB in the example below)
CATALINA_OPTS=”-Xms512m -Xmx2048m”