Lock Timeout

When a JADE session requests a lock on a JADE object that is currently incompatibly locked by another session, the request is queued until no incompatible locks remain, in which case the request can be granted. However, the lock request is queued only for a specific amount of time before it is rejected and a JoobObjectLockedException is thrown.

The timeout value for lock requests is specified in a parameter of the JoobContext Lock method. For locks that are implicitly acquired by JADE, the timeout value is specified in the following section and parameter of the JADE initialization file.

[JadeServer]
ServerTimeout=nnnnn

The ServerTimeout parameter specifies the maximum number of milliseconds to wait before an implicit lock request times out. The default value is 10,000 milliseconds.