Versions Compared

Key

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

...

Code Block
java -Dfcrepo.home=/mnt/fedora-data -jar fcrepo-webapp-jetty-console.war 

Configuration Elements

There are a number of configuration elements that can be optionally be set when starting the Fedora 4 web-application. No configuration elements are required to be set, as they all default values (noted below within brackets: <>).

No Format
fcrepo.home=<cwd/fcrepo4-data>

This can be set to a path (relative to the current working directory or absolute) to which Fedora repository content will be written.  Any of the Modeshape and Infinispan configuration options below will default to being within this folder if unset or if set to a relative path.  If unset, content will be put in the "fcrepo4-data" directory within the current working directory.

No Format
fcrepo.modeshape.configuration=<classpath:/config/minimal-default/repository.json>

This specifies the configuration for the underlying Modeshape repository. See other available options for this value within the source tree.

No Format
fcrepo.infinispan.cache_configuration=<config/infinispan/leveldb-default/infinispan.xml>