If an SQL repository contains item descriptors that use locked caching, set the Repository component’s lockManager property to a component of type atg.service.lockmanager.ClientLockManager. The Oracle Commerce Platform provides a default ClientLockManager component:
/atg/dynamo/service/ClientLockManager
Thus, you can set an SQL Repository’s lockManager property as follows:
lockManager=/atg/dynamo/service/ClientLockManager
ClientLockManager Properties
A ClientLockManager component must be configured as follows:
Property | Setting |
|---|---|
|
|
| Host address of the |
| The ports used on the |
For example, given two ServerLockManagers on hosts tartini.acme-widgets.com and corelli.acme-widgets.com, where both use port 9010, the ClientLockManager is configured as follows:
$class=atg.service.lockmanager.ClientLockManager lockServerAddress=tartini.acme-widgets.com,corelli.acme-widgets.com lockServerPort=9010,9010 useLockServer=true
Note: The liveconfig configuration layer always sets useLockServer to true.

