Running dblsn on the Device Client

Once the Unwired Server has been reconfigured with the patched mlnotif.jar, you can run the listener on the Windows client. This listener is implemented as an application on Windows, and it registers the mobile application with Unwired Server, which in turn allows the client to receive incoming push requests.

Configure the listener, dblsn, with the following command line options:
  • Without certificates (that is HTTP connections) use:

    dblsn -ni -nu -ns -v3 -u <adminID> -l "poll_connect='http (host=<myhost>;port=<myPushport>)';poll_notifier=UALIGHTWEIGHT;poll_key=<mypollkey>;action=start'.\supsis_sync.exe' $content"

  • With certificate (that is HTTPS connections) use:
    dblsn -ni -nu -ns -v3 -u <adminID> -l "poll_connect='http (host=<myhost>;port=<myPushport>;trusted_certificates=\"\program files \myapp\rsa_NGT_public_cert.crt")';poll_notifier=UALIGHTWEIGHT;poll_key=<mypollkey>;action=start'.\supsis_sync.exe' $content"
    Note: dblsn generates an error if the trusted_certificates parameter in the -l option has a space. Either store the certificate in a file path that contains no spaces, or with dblsn 11.0.1.2275 or higher, enclose the value in double quotes as shown in the previous example.
Note: By default the Unwired Server push synchronization port is 2439, and the default administration ID is supAdmin.
With the options set, the SUPSyncConfig.xml is recreated and is used to provide the correct push configuration to Unwired Server.