000024755 - What is the meaning of *.lck *.log  *.properties and *.script files produced by the RKM 1.5.x Java client?

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000024755
Applies ToRSA Key Manager Client 1.5.x
IssueWhat is the meaning of *.lck *.log, *.properties and *.script files produced by the 1.5.x Java client?

Four cache files are created (for a cache called kms.cache):



From http://hsqldb.org/doc/guide/ch01.html:


Each HSQLDB database consists of between 2 to 5 files, all named the same but with different extensions, located in the same directory. For example, the database named "test" consists of the following files:

* test.properties

* test.script

* test.log

* test.data

* test.backup

The properties files contains general settings about the database. The script file contains the definition of tables and other database objects, plus the data for non-cached tables. The log file contains recent changes to the database. The data file contains the data for cached tables and the backup file is a zipped backup of the last known consistent state of the data file. All these files are essential and should never be deleted. If the database has no cached tables, the test.data and test.backup files will not be present. In addition to those files, HSQLDB database may link to any formatted text files, such as CSV lists, anywhere on the disk.

While the "test" database is operational, a test.log file is used to write the changes made to data. This file is removed at a normal SHUTDOWN. Otherwise (with abnormal shutdown) this file is used at the next startup to redo the changes. A test.lck file is also used to record the fact that the database is open. This is deleted at a normal SHUTDOWN. In some circumstances, a test.data.old is created and deleted afterwards.


When the engine closes the database at a shutdown, it creates temporary files with the extension .new which it then renames to those listed above.

The .script and .properties file are what make up the cache, so to backup or copy the cache, copy those two files.

In the example above, if you wanted to delete the cache, you would need to remove all of the test.* files.

Legacy Article IDa39204