A lock request timed out and the target key was dumped, but it was default toString() output of ScopedKey. This is unfriendly to developer. The wrapped original key should be dumped. ~~~ Caused by: org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [10 seconds] on key [org.infinispan.registry.ScopedKey@5b6f425] for requestor [GlobalTransaction:<AAA>:1568:remote]! Lock held by [GlobalTransaction:<BBB>:1271:local] ~~~ In LockManagerImpl, such unwrapping has already been implemented for MarshalledValue. So the same for ScopedKey.