Hi Martin, This error may happen if (1) two different instances of basex try to open/update the very same database. As BaseX uses standard JVM functionality to acquire the Lock it is very likely that indeed to different processes tried to access the very same file.
Maybe there is some kind of shared database between your instances that you are trying to access? Best from Konstanz Michael > Am 10.05.2019 um 09:17 schrieb Martin Iggulden > <martin.iggul...@screensystems.tv>: > > the same Java VM because the RESTXQ server is the only active interface to > the database. > > We have seen this error before, but it’s difficult to reproduce. > > Do you know how this might have happened? And is there a procedure for > clearing down an erroneous database lock if it happens? > > We are running BaseX version 9.1.2. >