This lesson assumes you have completed all preceding lessons. See Lesson 1: Compiling the CustdbScripts Java class with MobiLink references.
In this lesson, you run the MobiLink server with the -sl java -cp option to specify a set of directories to search for class files and force the Java VM to load on server startup.
Start the MobiLink server with the -sl java option.
Run the following command:
mlsrv12 -c "DSN=SQL Anywhere 12 CustDB" -sl java (-cp c:\mljava)
A message indicating that the server is ready to handle requests appears. The Java method is executed when the upload_insert event triggers during synchronization.
Proceed to Lesson 6: Testing synchronization.
Discuss this page in DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|