powered by Jive Software

Openfire database in use by another process?

Hi everyone. New to this forum and a little out of my depth with Openfire!

I have a small problem with our server.

When I started the openfire and spark on our server, everything went fine. I moved the machine to another part of the office and restarted the server to get a lot of this:


java.lang.IllegalArgumentException: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@c69e02e3[file =C:\Program Files (x86)\Openfire\embedded-db\openfire.lck, exists=true, locked=false, valid=false, fl =null]: java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\embedded-db\openfire.lck (Access is denied)Database setup or configuration error: Please verify your database settings and check the logs/error.log file for detailed error messages.


I reset the file in question, went through the process again and left the server on. This time I came in this morning to find it openfire down again with the same messasge when I restated it.