Specifying connection attempts and a timeout when connecting with the local Sametime server

You can optionally set properties for when the IBM® Sametime® Gateway server becomes disconnected from the local IBM Sametime Community server. You can set how many times Sametime Gateway should try to reconnect to the local Sametime Community server. Also, you can set the time to wait between attempts to reconnect.

About this task

When the Sametime Gateway Server is disconnected from the Sametime server, by default Sametime Gateway tries to reconnect for one minute, then stops, then tries again to reconnect. This process goes on indefinitely unless you change these defaults by creating two custom properties, one for reconnection attempts and the other for the reconnection timeout.

Procedure

  1. In the Integrated Solutions Console, click Sametime Gateway > Communities.
  2. In the table that lists communities, click the Local community.
  3. On the local community panel, click Custom properties, and then click New.
  4. To set the number of reconnection attempts, in the name field, type Server reconnection attempts.
  5. In the value field, type -1 (to try infinitely), or some other number.
  6. Click OK.
  7. To set the reconnection timeout, in the name field, type Server reconnection time out.
  8. In the value field, type a number in milliseconds. For example, type 30000 to set the timeout to 30 seconds.
  9. Click OK.
  10. Restart the Sametime Gateway Server, or, if you have a cluster of Sametime Gateway Servers, restart the cluster.