Sybase Hosted Relay Server Fails to Connect

Problem: Sybase Hosted Relay Server fails to connect in a development or test environment.

Solution: Check the log files for information. There are several possibilities.
  • The Farm ID and Server IDs may differ between the Relay Server outbound enabler (RSOE) and the Sybase hosted Relay Server. Ensure that these IDs match exactly by checking <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\config\relayserver.properties. If they do not, delete the values of relayserver.farm_name so that it matches the one configured in the Sybase Hosted Relay Server.
  • The messaging service may not be configured properly, or may not be configured at all. Check the values in <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\config\relayserver.properties to make sure relayserver.imo.farm_name and relayserver.imo.token are configured properly. Add them or correct them as needed.
  • The RSOE and configuration changes may not have been registered, meaning that additional files have not been updated with the changes (such as rs.config, startrsoe.bat, andstoprsoe.bat). Register the RSOE and configuration changes by running <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\bin\regRelayServer.bat.
  • The Relay Server outbound enabler may need to be restarted. To do so, restart Unwired Server. Unwired Server and messaging service should connect to the Web hosted relay server.