Skip to Content

Mobilink client stops when remote DB is unreachable

Hello, all

Is there a way to make the mobilink client service not to stop, but to retry DB connection indefinitely, until the service is started (or network connection is restored) ?

We are working with version 16

Thank you


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 02, 2015 at 04:24 PM

    Note, I have not tried it myself, but I guess you can use a MobiLink hook procedure to control whether a failing connetion to the ML server will be retried (and whether a different ML server address might be used for that).

    Here's link to the docs with an according sample using the "sp_hook_dbmlsync_ml_connect_failed" hook procedure:

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2015 at 01:03 PM

    The MobiLink client is usually located very close to the remote database, and sometimes integrated in a fashion where a sync is not attempted until the remote database's availability is known (e.g., a client application that is already connected to the database invokes dbmlsync).

    How are you launching a synchronization? Are you using the dbmlsync schedule extended option?

    The dbmlsync utility is a client like any other, and reattempting failed database connections is the responsibility of the client... hence the question "how are you launching".

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.