SAP Knowledge Base Article - Preview

2947002 - Jobs do not run due to singleton lock

Symptom

In defaultTrace_XX.X.trc with trace location com.sap.engine.services.scheduler with DEBUG severity you can see the following exception:

#2.0#<timestamp>#+0200#Debug#com.sap.engine.services.scheduler.impl.ServiceFrame#
#BC-JAS-BTC#scheduler#<traceid>#<javatime>##com.sap.engine.services.scheduler.impl.ServiceFrame#Guest#0##<traceid>#<traceid>##0#Timeout Event Processor, id [X], invocation [X]#Plain##
Unable to obtain the singleton lock. Waiting for another <time>ms.
[EXCEPTION]
com.sap.engine.frame.core.locking.LockException: Cannot lock [<lockid>, $scheduler~singleton, synchronization, X]; it is in use by another owner. The lock collision occurred with user <internal>.
at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:170)
at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:466)
at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:488)
at com.sap.engine.core.locking.ServerInternalLockingImpl.lock(ServerInternalLockingImpl.java:42)
at com.sap.engine.services.scheduler.impl.ServiceFrame$MutexObtainer.tryToStartTheSingleton(ServiceFrame.java:771)
at com.sap.engine.services.scheduler.impl.ServiceFrame$MutexObtainer.timeout(ServiceFrame.java:713)
at com.sap.engine.services.timeout.TimeoutNode.run(TimeoutNode.java:83)
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

SAP NetWeaver Application Server Java

Product

SAP NetWeaver 7.5

Keywords

singleton lock not running scheduler btc job task bpm galaxy timer po , KBA , BC-JAS-BTC , NetWeaver Scheduler (Java) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.