On Wed, Sep 3, 2008 at 3:08 PM, lunapolar <[EMAIL PROTECTED]> wrote: > > I have a great problem.....!!!!! > > My application was runnig great.... buy today... I don't know how.... when > xindice is started it gaves me an > exception: > > org.apache.xindice.util.XindiceException: Unable to open lock file > C:\Documents and > Settings\Administrador\.netbeans\6.0\apache-tomcat-6.0.16_base\webapps\xindice\WEB-INF\db\db.lock. > Make sure database is not open by another process. Exception: > java.io.IOException: Could not delete lock file.
Did you check if another Xindice process is running already? When Xindice starts, it creates file db.lock and holds a lock on that file. If file already exists and cannot be deleted Xindice shuts down immediately, assuming that the database is already opened by another process. You need to close the other instance of Xindice to resolve the situation. Alternatively, you can check if some other application holds the file open (that is less likely). Regards, Natalia