Use the esAdmin command to list, unlock, or delete active and queued locks.
The esAdmin command can list and delete all locks currently managed by the lock manager. When listing locks, you can list all locks or a small subset that is filtered based on the module, component, or method. This command can also be used to release an active lock in a deadlock situation; after the lock is released, it is granted to the next queued request.
(1) >>-esAdmin----+-------------------------------------------------------+----->< | .-localhost---. .-8880----------. | +-+--h hostName-+-+--p portNumber-+-method -| Methods |-+ +-------------------------------------------------------+ '- -help------------------------------------------------' Methods |--+-listAll-------------------------------------------------------------------+--| +-listLocks -+-moduleName--------------------------+-deleteLocks moduleName-+ | +-moduleName componentName------------+ | | '-moduleName componentName methodName-' | '-unlock lockId-------------------------------------------------------------'
esAdmin listLocks OrderThe output is similar to the following:
Lock Id | Sequence Id | Owner Id | Module | Component | Method | System Message Id |
---|---|---|---|---|---|---|
7564504 | 2 | 695376 | Order | OrderComp | createOrder | A09- 427BE_5002 |
7564504 | 3 | 232757 | Order | OrderComp | createOrder | ADF- 053RT_5004 |
esAdmin -u administrator1 -p adminpassword -p 9060 unlock 754830988
Last updated: Tue 24 Oct 2006 09:37:07
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)