title: Berkeley DB error: The je.lck file could not be locked
body: <p>We are encountering the ff error when running a java program using a berkeley DB.</p>
  
  <blockquote>
    <p>"The environment cannot be locked for single writer access. ENV_LOCKED: The je.lck file could not be locked. Environment is invalid and must be closed."</p>
  </blockquote>
  
  <p>Any idea what is the cause of the error and how can we fixed this.</p>
  
  <p>Thanks!</p>