ConfigEngine scripts fail with message: Configuration Engine is currently locked!"

Technote (troubleshooting)


Problem

Websphere Portal 8 ConfigEngine scripts fail immediately with the following message:

"Configuration Engine is currently locked! Please wait for the current process to finish before attempting to execute another configuration"


Symptom

<wp_profile-root>/ConfigEngine/log/ConfigTrace.log displays the following when running the ConfigEngine script (for example with the migration script 'upgrade-profile'):

Running configuration tasks: iseries-switch-user upgrade-profile

Command line arguments: -buildfile base.xml -listener -listener -Dcfg.trace=<wp-profile>/ConfigEngine/log/ConfigTrace.log -Dwas.install.root=<WAS-INSTALL-DIR> -DNodeName=<NodeName> -DCellName=<CELL NAME> -Dwas.repository.root=<WP-PROFILE-DIR>/config -Dserver.root=<WAS-INSTALL-DIR> -DisIseries=true -Dlocal.cell=<DMGR-CELL> -Dlocal.node=<PORTAL NDE> -DjvmArgFor64bit=-D64bit.args=none -Dwas.user.root=<WP-PROFILE-DIR> -Duser.install.root=<WP-PROFILE-DIR> -DEngineRootDir=<ConfigEngine-Binary-Dir> -DProfileRootDir=<WP-PROFILE-DIR>-Dplatform.script.ext=sh -Dwas.platform.script.ext= -DInstance=<PORTAL-INSTANCE-NAME> -DInstanceParm=-profileName iseries-switch-user upgrade-profile -DWasPassword=PASSWORD_REMOVED -DPortalAdminPwd=PASSWORD_REMOVED -DdbSafeMode=false -Dwcm.transactionTimeout=3600
Configuration Engine is currently locked! Please wait for the current process to finish before attempting to execute another configuration
BUILD FAILED

Cause

There are 2 Potential causes for this error

1) There is another ConfigEngine task running on the system

Solution:

- Wait for this ConfigEngine Task is finished before executing the ConfigEngine upgrade-profile migration task

2) A previous ConfigEngine Task terminated prematurely and a .lck file exists in the the <wp_profile>/ConfigEngine directory

Solution:

- Open the <wp_profile>/ConfigEngine directory

- Remove all files with the .lck extenstion and re-run the ConfigEngine ... upgrade-profile task

Environment

WebSphere Portal 8.x

Diagnosing the problem

1) View the <wp_profile-root>/ConfigEngine/log/ConfigTrace.log for the Build Failed Message

2) The Line above the Build Failed Message will display the text
Configuration Engine is currently locked! Please wait for the current process to finish before attempting to execute another configuration
3) Check for other run ConfigEngine Processes
4) If there is no other ConfigEngine Processes running navigate to the <wp_profile>/ConfigEngine directory an search for *.lck and remove them if they exists

Resolving the problem

1) If there is another ConfigEngine task running on the system wait for the task is finished before executing the ConfigEngine upgrade-profile migration task

2) If there is not another ConfigEgineTask running on the system, navigate to the <wp_profile>/ConfigEngine directory and remove all files with the .lck extension and re-run the ConfigEngine script.


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Portal
Migration

Software version:

8.0, 8.0.0.0, 8.0.0.1

Operating system(s):

AIX, IBM i, Linux, Solaris, Windows, z/OS

Software edition:

Enable, Express, Extend, Server

Reference #:

1631306

Modified date:

2013-04-12

Translate my page

Machine Translation

Content navigation