Exporting or Deploying Large Packages Fails

Problem: You used SAP Control Center to export or deploy a large package, and it fails.

You can troubleshoot this error by opening the SAP Control Center SCC_HOME\log\agent.log file and checking for messages similar to:

exception:java.lang.IllegalStateException: Form too large

Failed to deploy the Hybrid app due to file size limit for the current configuration. See troubleshooting guide for increasing the file size limit.

Explanation: This message means that the package, not the form, is too large. The Web server that hosts SAP Control Center cannot manage the data. The default size is 10000000 (10 MB); the maximum 100000000 (100 MB).
  1. Use a text editor to open SCC_HOME\services\EmbeddedWebContainer\service-config.xml.
  2. Set the jetty.maxFormContentSize to a value larger than the default. The default is 10000000. For example:
     <set-property property="jetty.maxFormContentSize" value="10000000" />
  3. Save the file.
  4. Restart SAP Mobile Server.
Related reference
Invalid DOE-C User Error for an SAP Server Connection
Troubleshoot CTS Imports