Lesson 9: Using the MobiLink Server Log File Viewer to check for errors and warnings

This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up a MobiLink consolidated database.

After the tables are synchronized, you can view the progress of the synchronizations using the message log files you created with each command line, mlsrv.mls, rem1.dbs, and rem2.dbs respectively. The default location of these files is the directory where the command was run.

 Detect errors in your MobiLink server log file and synchronization client log file
  1. In Sybase Central, click Tools » MobiLink 12 » MobiLink Server Log File Viewer.

  2. Open your log file in a text editor.

    Locate c:\MLintro\mlsrv.mls, and click Open.

    The MobiLink Server Log File Viewer window appears.

  3. Click the Synchronizations tab to look for errors and warnings that occurred during synchronizations.

    Clear the Show Information option and click Apply.

    Only synchronizations that contain errors and warnings appear in the Synchronizations pane. The individual errors and warnings appear in the Details pane.

  4. Click the Messages tab to look for errors and warnings that were reported by the MobiLink server.

    Clear the Show Information option, and click Apply.

    Only synchronizations that contain errors and warnings appear in the Messages pane. For example, you may see a warning that states the following:

    [10093] The MobiLink server is currently running with -zf that will reduce its performance
  5. Click the Summaries tab to look for overall statistics listed in the log file.

  6. Open a client log file, such as rem1.mls or rem2.mls, in a text editor.

  7. Search the file for the string ROLLBACK. If the transaction was rolled back, there were errors that prevented it from completing.

  8. Scan down the left side of the file. An error has occurred if you see a line that begins with an E.. Your synchronization has completed successfully if your log file does not contain errors.

  9. Proceed to Lesson 10: Creating a table for conflict detection and resolution.

 See also
 Example