Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The OCFL persistence configurations mentioned above have a number of more detailed configuration elements that can optionally be set. To see exactly which elements are available to be set, inspect the repository.json files specified above. Those files can be browsed in the source tree in:

...

Some common elements relate to the directories in which application information is persisted. As mentioned above, if no fcrepo.home property is set then application information will be persisted in the current working directory under the directory "fcrepo/tmp". There will then be several directories within "fcrepo/tmp" that are named by default with the name of the property that can be set to configure each of those directories.

Below are some common examples of these directories: 

No Format
fcrepo.ocfl.storage.root.dir
fcrepo.ocfl.staging.dir
fcrepo.ocfl.work.dir

...

":

No Format
fcrepo/data/staging
fcrepo/data/ocfl-root
fcrepo/data/ocfl-temp

To set the location of the fcrepo.home directory ("fcrepo/"), use the following system property:

No Format
-Dfcrepo.home=<some_directory>

For a more granular approach, the three directories within fcrepo.home can individually be set with their respective properties:

No Format
-Dfcrepo.ocfl.staging=<some_staging_directory>
-Dfcrepo.ocfl.root=<some_root_directory>
-Dfcrepo.ocfl.temp=<some_temp_directory>



No Format
fcrepo.activemq.directory

...