Synchronization Fails With Exception

Problem: Some applications fail to synchronize, and report either an uncaught exception for waitForKeyGenerator when calling the subscribe method, or an OutOfMemoryException.

Explanation: This may happen if Unwired Server does not send the key generator row in response to a login request from the client within 20 seconds of the client's subscribe request. This is typically because the mobile business object is handling a large amount of data. It can also happen if there is a connection problem with the enterprise information system (EIS) that slows response time.

Solution: Try one or more of these:
  • Increase the Unwired Server Max Heap Size. Search for the Configuring System Performance Properties topic found in both System Administration and the Sybase Control Center online help.

  • Redesign the mobile business object (MBO) to handle less data in a transaction.
  • Develop custom logging to better trap error messages for more details.