Configuring RSOE to Run as a Service

Configure the relay server outbound enabler (RSOE) to run as a service and start automatically; otherwise you must start and stop it manually, with the Windows Services control panel.

Prerequisites
You must preregister all Unwired Platform servers and synchronization services with the Sybase-hosted relay service to get the required startrsoe.bat and stoprsoe.bat files. See either Configuring Relay Server in a Multinode Cluster or Using the Sybase Relay Server Hosted Service tasks for details.
Task
  1. Start the relay server outbound enabler as a Windows service.
    cd <UnwiredPlatform_InstallDir>\Servers\SQLAnywhere11\Bin32
    dbsvc -as -s auto -w rsoe "<UnwiredPlatform_InstallDir>\Servers\SQLAnywhere11\BIN32\rsoe.exe" -cr "host=RELAYSERVER.sybase.com;https=1;port=443" -cs "host=myUnwiredServer;port=5001" -f "abc.supqadmz2msg" -id "SUPQADMZ2" -t "Token_0" -v "3" -o "D:\temp\rsoe.log"
    Use the same information used to configure the Sybase-hosted relay server. Substitute all parameter values for those shown here to match your configuration, where
    • -cr is the relay server connection information
    • -cs is the Unwired Server connection information
    • -f is the farm ID used
    • -t is the authorization token
    • -o is the location of the log output
  2. To start or stop the rsoe service independently from other platform services:

    From the Windows Services control panel:

    • Locate the SQL Anywhere - rsoe service.
    • Ensure that the Startup Type is set to Automatic.
    • Right-click the service name and select the corresponding menu option to start or stop the service.

    From the command prompt:

    • Change to <UnwiredPlatform_InstallDir>\Servers\SQLAnywhere11\Bin32.
    • To start the service, enter dbsvc.exe -u rsoe.
    • To stop the service, enter dbsvc.exe -x rsoe.
    • To uninstall the service, enter dbsvc.exe -d rsoe.