db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oystein Grovlen - Sun Norway <Oystein.Grov...@Sun.COM>
Subject Re: [n00b] Recovering from program crashes
Date Mon, 02 Apr 2007 16:44:14 GMT
There is a file in the db directory db.lck that is created to prevent 
dual booting.  See 
http://db.apache.org/derby/docs/10.2/devguide/cdevdvlp20458.html for 
more info.

By removing that file you should be able to boot.  However, make sure 
that no other process is accessing the database.  Derby will try to 
delete this file itself.  If it fails, it is an indication that some 
other process has an open file descriptor for this file.  Could it be 
that a process that earlier has accessed the DB is hanging and not 
actually removed until you reboot the DB?

-- 
Øystein

Mime
View raw message