What causes ".lock is already locked by the current process" while trying to access BRM repository through code ?

Solution Unverified - Updated -

Issue

  • While trying to access the BRM (i.e. Guvnor) repository though code the following exception occurs. What might be the root cause behind the exceptions?
javax.jcr.RepositoryException: 
The repository home ..\brms-standalone-5.3.1\jboss-as\bin\repository appears to be in use since the file named .lock is already locked by the current process.
...

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.