Enabling recoverable wireless synchronization

When recoverable wireless synchronization is enabled, M-Business Server 7.0 supports automatic recovery of synchronizations that are interrupted when a user loses the wireless connection. M-Business Sync Server automatically tries to reestablish the connection and resume the synchronization from the point at which it was interrupted. No user action is required.

You must enable recoverable synchronization; it is not automatically enabled during installation.

To enable recoverable synchronization
  1. Use a text editor to open <M-Business_Home>/sync.conf.default.

  2. Locate the line containing WLRecoverySync.

  3. Uncomment the line, and set WLRecoverySync to TRUE:

    SyncPref WLRecoverySync TRUE

  4. Save the file.

  5. Run the defaults_setup script located in the <M-Business_Home>/conf directory.

    Windows: defaults_setup.bat

    UNIX: defaults_setup

  6. Restart M-Business Server.

You may want to tune two additional settings in the sync.conf.default file:

These settings do not appear in the file by default, although they have default values that are defined internally. See User addable settings.

The synchronization recovery mechanism is triggered when one of these timeout values is reached. The default values for these timeouts are set relatively high, so that enterprise applications with intense back-end processing can complete processing during a synchronization. The trade-off is that if end users encounter a network error and the timeout value is large, the users may be more inclined to cancel the synchronization and thus lose the benefit of the automatic recovery. Balance these two issues and set reasonable timeout values for your application and target network.

Caution

If the two timeout settings below have already been added to your sync.conf.default file, and the values are different from the default values listed for them in User addable settings, someone in your organization has probably optimized these settings for a particular application or user situation. In this case, do not change these settings without coordinating closely with the person who set them.

Add the following lines at the end of the file:

    SyncPref DeviceReadTimeout <read_timeout_seconds>
    SyncPref DeviceWriteTimeout <write_timeout_seconds>

Set <read_timeout_seconds> and <write_timeout_seconds> as necessary.