Configuring a Relay Server for Development

Subscribe to the Sybase Relay Server Hosting Service, and configure your environment to test Unwired Platform with a relay server.

You can use the Web-hosted relay server to test your Unwired Platform development system, including an Unwired Server cluster that contains a maximum of two server installations. Data that passes through this relay server is not secure; therefore it is appropriate only for testing purposes.

Note: To register an Unwired Server instance and a cluster with the hosted relay server, the server and cluster names can contain only alphanumeric characters. When you install Unwired Platform, the cluster name defaults to your computer name, and the names of servers in the cluster are based on the cluster name. To change the name of an existing cluster, see Changing a Cluster Name.
  1. Subscribe to the relay service by following the instructions in the white paper that you can download from Sybase Relay Server Hosting Service.
    After you register your server, the relay service returns a set of values that you can use to configure your environment. For example:
    -f davecxp.DAVECXPSUPFarm
    -id DAVECXPSUPServer1
    -t 91ae78ca50b90b02cef494c869c6
    -cr "host=relayserver.sybase.com;https=1;port=443"
    -cs "host=localhost;port=80"
  2. To configure a relay server outbound enabler (RSOE), do not follow the relay-service instructions in the white paper. Instead:
    1. On the machine where your registered Unwired Server is installed, change to the Unwired Server installation directory; for example, C:\Sybase\UnwiredPlatform-1_2\Servers\UnwiredServer.
    2. Use a text editor to open relayserver.properties, and set the property values, according to the results returned from the relay service. The values below correspond to those in the Step 1 example. You can cut and paste your own values from the Web site.
      Property name Value
      relayserver.host relayserver.sybase.com
      relayserver.http_port 80
      relayserver.https_port 443
      relayserver.farm_name davecxp.DAVECXPSUPFarm
      relayserver.token 91ae78ca50b90b02cef494c869c6
      relayserver.protocol https
    3. Run: regRelayServer.bat

The next time you start Unwired Server, it automatically starts an RSOE that is configured to connect to the relay server.

Next 

When you are ready to move your system into production, set up the Sybase Unwired Platform relay server—see Configuring a Relay Server for Production.


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com