Exporting or Deploying Large Packages Fails

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

You can troubleshoot this error by opening the Sybase Control Center <UnwiredPlatform_InstallDir>\SCCXX\log\agent.log file and checking for a message that is similar to this one:

exception:java.lang.IllegalStateException: Form too large

Explanation: This message means that the package, and not the form, is too large. The Web server that hosts Sybase Control Center cannot manage the data. A number like 273310 indicates the size of the package in kilobytes (that is, 273,310).

Solution 1: Use this solution if you run the Sybase Control Center XX as a service (default).
  1. Open <UnwiredPlatform_InstallDir>\SCC-X_X\bin\scc.properties in a text editor
  2. Set Set MAX_FORM_CONTENT_SIZE and jvmopt1. For example:
    jvmopt=-Dorg.mortbay.jetty.Request.maxFormContentSize=2000000
  3. Save the file.
Solution 2: Use this solution if you do not run the Sybase Control Center XX as a service.
  1. Close Sybase Control Center, and stop Sybase Control Center XX using the Windows Services dialog.
  2. Open <UnwiredPlatform_InstallDir>\SCC_X-X\bin\scc.bat, in a text editor.
  3. Set the maxFormContentSize property to a value larger than the default, and save the file. The default is 2000000. For example:

    -Dorg.mortbay.jetty.Request.maxFormContentSize=2048000

  4. Restart the Sybase Control Center XX (using the updated scc.bat file), and reopen Sybase Control Center.
Related reference
Invalid DOE-C User Error for an SAP Server Connection