CAST Imaging System - GUI - Login - Authentication - Login failure due to exception liquibas exception LockException Could not acquire change log lock

Purpose

This page will guide you to solve the login error 'Could not acquire change log lock' when imaging is configured to use LDAP authentication

Error Log : 

Caused by: liquibase.exception.LockException: Could not acquire change log lock.

For more information refer to : Configuring authentication using LDAP/LDAPS

Applicable Platform


Imaging version

Yes/No

          2.x(tick)
Step by Step scenario
  1. Configure LDAP authentication in imaging.
  2. Restart service "CAST Imaging - login service".
  3. Login fails due to error "Incorrect username or password. please try again."
  4. Observe below exception from loginservice.log(path : <Imaging-install-path>\logs).
liquibase.exception.LockException: Could not acquire change log lock.  Currently locked by

 

Action Plan
  1. Stop service  "CAST Imaging - login service".
  2. Open config file path %appdata%\Roaming\CAST\ImagingSystem\login\db. ( This config file path varies based on the value selected during imaging installation)
  3. Delete the contents of db folder.
  4. Restart service "CAST Imaging - login service"
  5. Check for the below information in loginservice.log to confirm that service is started correctly
INFO 14384 --- [ main] c.c.aip.console.security.Application : Started Application in 25.425 seconds

      6. If the above steps do not solve your issue contact CAST Technical Support with the Relevant input in order to reproduce the issue.   

Notes/comments

Ticket # 39553