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).
- Sybase recommends you create a backup copy of the Windows registry before proceeding.
- Open the registry editor by running regedit at the command line.
- Locate the Sybase Unified Agent 3.0 registry key: HKEY_LOCAL_MACHINE\SOFTWARE\SYBASE\Unified Agent 3.0.
- 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.
- Close Sybase Control Center, and stop Sybase Unified Agent using the Windows Services dialog.
- Open the uafstartup.bat file, located at <UnwiredPlatform_InstallDir>\SCC_3-0\bin\uafstartup.bat, in a text editor.
- 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
- Restart the Sybase Unified Agent (using the updated uafstartup.bat file), and reopen Sybase Control Center.