Symptom
You experience that the File Channel is not processing files. In the debug level trace of the File Adapter you find the following exception:
[EXCEPTION]
com.sap.engine.frame.core.locking.LockException: Cannot lock [I2015101723441837200000p701a000..................144518350, $XIAFFileHandle, [Name of the corresponding key.], X]; it is in use by the same owner. In case of lock mode "R" the lock propagation failed, because the optimistic lock is gone.
at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:174)
at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:466)
at com.sap.engine.core.locking.ServerInternalLockingImpl.lock(ServerInternalLockingImpl.java:52)
at com.sap.aii.adapter.file.util.locking.LockManager.acquireLock(LockManager.java:249)
at com.sap.aii.adapter.file.util.locking.LockManager.acquireLock(LockManager.java:173)
at com.sap.aii.adapter.file.io.FileHandle.acquireLock(FileHandle.java:106)
at com.sap.aii.adapter.file.File2XI.processFtpList(File2XI.java:2204)
at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java:660)
at com.sap.aii.af.lib.scheduler.JobBroker$Worker.run(JobBroker.java:529)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)
Read more...
Environment
- PI Release Independent
- SAP NetWeaver
- SAP Process Integration
Product
Keywords
LockException, File, com.sap.engine.frame.core.locking.LockException, acquire lock for key, NFS, FTP, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.40, PI 7.40, PO 7.40, Process Orchestration 7.50, PI 7.50, PO 7.50, NetWeaver, XI , KBA , BC-XI-CON-FIL , File Adapter , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.