The "Cannot obtain lock" exception is a retryable error that typically relates to performance constraints during the consolidation process. To effectively address this issue, please review and perform the following actions:
Evaluate Consolidation Batch Size
Navigate to Intercompany Administration Console → Preferences → Consolidation Configuration → Consolidation Batch Size.
Consider increasing the batch size to improve processing efficiency, and then retry the consolidation.
Optimize Date Range for Consolidation
Review the date range configured for the consolidation process. If the range is too broad, try running the consolidation over a shorter period to reduce system load.
Validate DI Proxies and Groups
Ensure that the configuration of DI Proxies and group settings are correctly implemented and properly aligned with each company’s System Landscape Directory (SLD) configuration.
Review Server Memory Allocation
Check both the total RAM available on the server and the RAM allocated to Tomcat. If necessary, increase the allocation to Tomcat to enhance performance.
After completing these checks and optimizations:
Reset the Consolidation Process
Go to Intercompany Administration Console → Preferences → Consolidation Configuration and reset the consolidation. Please refer to the screenshot provided for guidance.
Once reset, re-run the consolidation process. As this is a retryable error, the process may succeed after optimization.
Verify Consolidation Account Mapping
Confirm that consolidation account mappings are fully configured in all branch companies before initiating the consolidation.
By following these steps, you can significantly improve system performance and reduce the likelihood of encountering the "Cannot obtain lock" exception.