MobiLink setup

Table 3-4 identifies common MobiLink setup problems and provides troubleshooting information.

Table 3-4: Troubleshooting MobiLink problems

Problem

Try this

Deploying an application to MobiLink causes a FileNotFoundException – missing...\tomcat\temp\ <host.domain.rid>.usm error.

Check the Registry entry and verify HKLM\Software\Sybase\Adaptive Server Anywhere\9.0 exists and has the correct values for the Location and Shared Location values.

Starting MobiLink server shows an ODBC error.

Go to the ODBC Data Source Administrator and verify the uaml data source exists under the System DSN tab. Verify the properties for the uam1 data source are set correctly.

Starting MobiLink server shows this message:

Error: cannot open file \tmp\logs\ml.Log

This indicates the X:\tmp\logs directory does not exist. Creating the directory was a pre-installation requirement, described in “Installing MobiLink server on Windows (optional)”. Create the directory to view the ml.Log.

MobiLink console shows that the SMSGateway connection is refused.

In the configML.sql script, modify the SMSGateway (UASMS) and UAMAIL sections with the correct values, then execute configML.bat. See “Installing MobiLink server”.

Push using UAMAIL does not work, or send e-mails to the clients.

In the configML.sql script, modify the SMSGateway (UASMS) section with the correct values, then execute configML.bat. See “Installing MobiLink server.”

Cannot connect to MobiLink

If you changed any of the default MobiLink parameters in the startmlsrv.bat and mlservice.bat files, you must verify that the -x parameter is configured correctly and in sync in both files.

You must then reinstall the Windows Service for MobiLink.

Cannot see any messages in the MobiLink log file after selecting Mobile users | List Subscriptions | Select apps, and right clicking Device | Synchronize in Mobile Web Studio

This typically indicates the ulxml.exe file is missing. You must install MSXML 4 Service Pack 2 as described in “Installing MobiLink server on Windows (optional)”. MSXML includes ulxml.exe, which is used to generate schema files for clients.