Snoopy,
Do you have Windows Desktop Search running? Or something similar (Google desktop)? What O/S are you running, Vista?
I think we have determined that this problem is that 2 users on our network are running Windows Desktop Search and it is this process that is locking the journal file. It is either one of those two users that have the file locked, and I can run the test application all night without problem, as soon as they log in in the morning, very soon after the journal file is locked by one of them.
I have asked them to exclude the folder the db is located in and will rerun the test. If the test runs ok over the weekend I think this confirms the problem.
Has anyone had a similar experience with these file indexing programs? With SQLite or any other kind of file?