on 12-14-2011 9:46 AM
Hi everyone,
we have implemented an application and it works fine, but sometimes by importing mass datas to
our sap portal we get a lot of log-entries likes these below.
Caused by: com.sap.engine.frame.core.locking.LockException: Cannot lock [2011121321005208000000sabayap0006................1722
87750, !J2EE_CONFIGURATION_MANAGER, 2dca72/6fb1073f/810dfaeb/1885d/444bcfc5/32/@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@, X]; it is in use by another owner. The lock collision occurred w
ith user <internal>.
at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:257)
at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:425)
at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:455)
at com.sap.engine.core.locking.ServerInternalLockingImpl.lock(ServerInternalLockingImpl.java:42)
at com.sap.engine.core.configuration.impl.ServerEnvironment.addLock(ServerEnvironment.java:312)
... 35 more
It seems, that the locks couldn't be released anymore ... But what can we do?
Any ideas ?
Thanks for your help in advance
Andreas
Andreas,
It is unlikely that the lock can not be released.
The more likely cause of the exception is that the application that created the lock is performing a task with long duration, and keeps the lock during that time. Thus when the lock is requested by something else, the exception that you found is thrown. This is probably the case on your system, since you mentioned importing large quantities for data of the time of the error.
You could use Telnet Administrator to observe and manage the locks. Here is how:
http://help.sap.com/saphelp_nw70ehp1/Helpdata/EN/48/0e3c335c2f25cde10000000a42189c/frameset.htm
Also you could trigger thread dumps at the time of the heavy load to see if there any activities with long duration. Here is how:
http://wiki.sdn.sap.com/wiki/display/TechTSG/(JSTTSG)(Deploy)Thread+Dump
Regards,
Ventsi Tsachev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andrew,
Please see the link below.
http://wiki.sdn.sap.com/wiki/display/JSTSG/%28JSTSG%29%28Deploy%29Problems-P07
Thanks,
Hamendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.