Timeout properties

Both the amount of time allowed before a request times out and the amount of wait time before requests can be reissued after a timeout is controlled by properties in the worklight.properties file. You can also configure these timeout properties by using the Anywhere Administration application if it is enabled.

The following examples describe the default behavior for requests that timeout in the Maximo® Work Technician app:
  • You attempt to connect to the adapter. The request times out after 3 seconds.
  • You attempt to download large amounts of data. The request times out after 6 minutes.

To change the value of a property, edit the worklight.properties file in the maximoanywhere_home\Anywhere\MaximoAnywhere\server\conf directory.

Table 1. Descriptions of the timeout properties in the worklight.properties file and the default values.
Property Description Default value
si.device.connectivity. timeout.interval The wait time between attempts to access IBM® Maximo Asset Management. Specify 0 if you do not want an interval. If Maximo Asset Management does not respond, an error is returned to the app. 5000 ms
si.device.connectivity. timeout The amount of time allowed before the request to connect to the adapter times out. 10000 ms
si.device.connectivity. timeout.stablepagination The amount of time allowed before the request to download large amounts of data such as lookup data times out. 360000 ms
si.GPS.maximumAge Amount of time in milliseconds that the mobile device caches the latest acquired GPS co-ordinates. 60000 ms
si.GPS.timeout Amount of time in milliseconds that the mobile device waits to receive GPS co-ordinates with a given accuracy before it returns a time out error. 5000 ms