To enable your client application to connect through a Relay Server you must make manual configuration changes in the object API code to provide the Relay Server properties.
Edit <package-name>DB by modifying the values of the Relay Server properties for your Relay Server environment.
To update properties for Relay Server installed on Apache on Linux:
getSynchronizationProfile().setServerName("examplexp-vm1"); GetSynchronizationProfile().setPortNumber(2480); GetSynchronizationProfile().setNetworkProtocol("http"); GetSynchronizationProfile().setNetworkStreamParams("trusted certificates=;url_suffix=/cli/iarelayserver/<FarmName>"); GetSynchronizationProfile().setDomainName("default");
To update properties for Relay Server installed on Internet Information Services (IIS) on Microsoft Windows:
getSynchronizationProfile().setServerName("examplexp-vm1"); GetSynchronizationProfile().setPortNumber(2480); GetSynchronizationProfile().setNetworkProtocol("http"); GetSynchronizationProfile().setNetworkStreamParams("trusted certificates=;url_suffix=ias_relay_server/client/rs_client.dll/<FarmName>"); GetSynchronizationProfile().setDomainName("default");
For more information on Relay Server configuration, see System Administration and Sybase Control Center for Unwired Server.