Configuration

How to fix [SQLITE_BUSY] The database file is locked?

83 views November 26, 2019 November 28, 2019 pohheng 0

Error:

An exception with the contents:

org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked (database is locked)

is reported in the InTime Server log, intimeserver-yyyy-mm-dd.log.

Resolution:

Change the maxconnection variable in the SQL.properties file located in the InTime Server installation directory.
Change the value of maxconnection to 1 (see sample below).
After making the change, please save SQL.properties and restart the InTime Server.

jdbc=org.sqlite.JDBC
host=jdbc:sqlite:plunify.db
partitioncount=1
minconnection=1
maxconnection=1

Applies to:

  • Linux Operating System
  • Windows Operating System

Knowledge Base ID: 201911191 – Last Review: Nov 15 2019 – Revision: 1.0