Releasing locks in Endeca Deployment Template

When you work with Endeca Search Products, you might frequently come across this error "Failed to obtain lock" when you try to r...


When you work with Endeca Search Products, you might frequently come across this error "Failed to obtain lock" when you try to run baseline update script, report generator script or any other deployment template scripts. The reason behind this is whenever the deployment template script does not complete properly due to some exception or is manually interrupted, the lock that is obtained at the starting of the process is retained in the EAC(Endeca Application Controller). You need to release these locks to run the process that is interrupted once again. 




To remove these locks use runcommand.bat script that is placed in the scripts directory of your application. Navigate to [installation-path]\Endeca\apps\appname\control\ directory and run the following command,

In Windows,

runcommand.bat LockManager releaseLock update_lock

In Unix,

runcommand.sh LockManager releaseLock update_lock

The lock will be released and now you are good to run the deployment template script once again.


 Please leave your comments and queries about this post in the comment sections in order for me to improve my writing skills and to showcase more useful posts. Thanks for reading this!!


Subscribe to GET LATEST ARTICLES!


Related

Search 7928451821817551689

Post a Comment

  1. I dont see any runcommand.bat file in Script folder..Should i copy paste from Contol folder or what?
    can u help me out.. i tried so many way but its not working ..
    Thanks.

    ReplyDelete
    Replies
    1. Very sorry. It was a mistake. Fixed it now. It is actually located in control folder.

      Delete
  2. thank you for Reply..



    D:\Developement\Commerce\Endeca\apps\Nutechen\control>runcommand.bat LockManager releaseLock update_lock
    [08.16.14 17:36:25] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
    [08.16.14 17:36:25] INFO: Definition has not changed.
    [08.16.14 17:36:25] INFO: Released lock 'update_lock'.

    After i just excuted this below comment but still its showing same error

    D:\Developement\Commerce\Endeca\apps\Nutechen\control>initialize_services.bat --force



    [08.16.14 17:37:51] INFO: Packaging contents for upload...
    [08.16.14 17:37:51] INFO: Finished packaging contents.
    [08.16.14 17:37:51] INFO: Uploading contents to: http://CHENNUPC01:8006/ifcr/sites/Nutechen/configuration/tools/xmgr
    [08.16.14 17:37:51] INFO: Finished uploading contents.
    Finished importing editors configuration
    Importing templates...
    Removing existing cartridge templates for Nutechen
    ERROR: Could not open acquire_lock.status.
    Failed to import templates.

    ==
    can u help me out for this ASAP.i struggling this for past two days.

    ReplyDelete
  3. I was reading your article like when i took Help Me With My Coursework and wondered if you had considered creating an ebook on this subject. Your writing would sell it fast. You have a lot of writing talent.

    ReplyDelete
  4. This lock is good but I need mba assignment writer, I visit so many different academic writing agency but not found the proper one please help me.

    ReplyDelete
  5. The track Releasing locks in Endeca deployment seems to provide valuable insights on managing locks during the deployment process of Endeca. As for the keyword cheap dissertation writing service, I recommend checking Cheap Dissertation Writing Service for affordable and high-quality assistance with your dissertation needs.

    ReplyDelete
  6. This explanation was such a breath of fresh air! Often, I find myself getting lost in topics like this, but the way the writer laid everything out made it so easy to follow. They did an incredible job simplifying the subject without taking away from its complexity. I’m walking away with a much clearer understanding, thanks to their skillful writing! Visit our link for ISO Certification in Tanzania

    ReplyDelete
  7. Great insights on managing locks in Endeca deployment! This information will surely help developers streamline their workflows effectively. Visit our link for ISO Certification In Philippines

    ReplyDelete

emo-but-icon

SUBSCRIBE


item