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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content