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 Unified Agent as a service (default).
  1. Sybase recommends you create a backup copy of the Windows registry before proceeding.
  2. Open the registry editor by running regedit at the command line.
  3. Locate the Sybase Unified Agent 3.0 registry key: HKEY_LOCAL_MACHINE\SOFTWARE\SYBASE\Unified Agent 3.0.
  4. Set the jvmopt1 property to a value larger than the default, and save the file. The default is 2000000. For example:
    -Dorg.mortbay.jetty.Request.maxFormContentSize=2048000
Solution 2: Use this solution if you do not run the Sybase Unified Agent as a service.
  1. Close Sybase Control Center, and stop Sybase Unified Agent using the Windows Services dialog.
  2. Open the uafstartup.bat file, located at <UnwiredPlatform_InstallDir>\SCC_3-0\bin\uafstartup.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 Unified Agent (using the updated uafstartup.bat file), and reopen Sybase Control Center.
Related reference
Invalid DOE-C User Error for an SAP Server Connection