On 7 Dec 2016, at 6:54pm, Jay Weinstein <jpwe...@gmail.com> wrote: > I’m running two programs, one written in java and one written in C, which are > both trying to access a sqlite database. I'm getting the error > org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked > (database is locked) when I run both as separate processes and when the java > app launches the c program with ProcessBuilder.
Are you getting this every single time for every single access ? Or do you mean you get that result occasionally ? If the latter then you should be able to solve it by setting a timeout value: <https://www.sqlite.org/c3ref/busy_timeout.html> Simon. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users