SAP Knowledge Base Article - Preview

2505174 - "Cannot lock !J2EE_CONFIGURATION_MANAGER" - AS Java instance hangs in "Startup framework"

Symptom

The J2EE engine is hanging in phase "Starting framework" when it tries to start Configuration Manager.

In default trace you can see similar entries like:

Caused by: com.sap.engine.frame.core.locking.LockException: Cannot lock [I2017061721073219600000<hostname>....................3194250, !J2EE_CONFIGURATION_MANAGER, ed1b8cca/@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@, 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:168)
  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.core.configuration.impl.ServerEnvironment.addLock(ServerEnvironment.java:348)
  at com.sap.engine.core.configuration.impl.ServerEnvironment.lockConfiguration(ServerEnvironment.java:531)
  ... 14 more


Read more...

Environment

SAP NetWeaver 7.1
SAP NetWeaver 7.2
SAP NetWeaver 7.3
SAP NetWeaver 7.3 EHP1
SAP NetWeaver 7.4
SAP NetWeaver 7.5

Product

SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

Locking, lock, locks, enqueue, enq, enq lock, enq locks, enqueue locks, enq server, enqueue server, starting framework, fails to start, instance, SAP MMC, shell, shell administration, telnet, !J2EE_CONFIG_MGR_INTERNAL, !J2EE_CONFIGURATION_MANAGER, J2EE_CONFIGURATION_MANAGER, J2EE_CONFIG_MGR_INTERNAL, central instance, SHOW_LOCKS, REMOVE_LOCK, LockException, Cannot lock, Configuration Manager , KBA , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-CST-EQ , Enqueue , BC-JAS-SF , Startup Framework , 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.