Openfire Server Filetransfer Problems

Hello, i got some problems , here are the logs :slight_smile:
DaError starting the server. Please check the log iftaables for oms ees rteinformation.
up or configuration error: Please verify your database settings and check the logs/error.log file for detailed error messages.

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: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@f7cf94a6[file =C:\Program Files\Openfire\embedded-db\openfire.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2022-01-24 10:27:00 heartbeat - read: -3343 ms.
	at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:1062)
	at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:706)
	at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:255)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:92)
	at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
	at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
	at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)
Caused by: 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: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@f7cf94a6[file =C:\Program Files\Openfire\embedded-db\openfire.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2022-01-24 10:27:00 heartbeat - read: -3343 ms.
	at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:204)
	at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:1052)
	... 16 more

Thanks!

This problem might occur when Openfire (while using the embedded database) has crashed or otherwise uncleanly stopped.

To resolve this, shut down Openfire, then delete the file C:\Program Files\Openfire\embedded-db\openfire.lck. When you start Openfire again, this problem will be gone.