Page tree

Versions Compared

Key

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

...

Code Block
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.modeshape.configuration=classpath:/config/file-simple/repository.json -Dfcrepo.home=/mnt/fedora-data"


Warning

The /config/file-simple/repository.json  configuration is good for test deployments. For production we recommend a MySQL/PostgreSQL backend. See Best Practices - Fedora Configuration


Additional information regarding the configuration of System Properties in Tomcat 8 can be found here.

...

Warning

The /config/file-simple/repository.json  configuration is good for test deployments. For production we recommend a MySQL/PostgreSQL backend. See Best Practices - Fedora Configuration

Anchor
jetty
jetty
Jetty 9

On Debian Linux systems, one way of setting System Properties is to update the following file:

...

Warning

The /config/file-simple/repository.json  configuration is good for test deployments. For production we recommend a MySQL/PostgreSQL backend. See Best Practices - Fedora Configuration


Additional information regarding the configuration of System Properties in Jetty 9 can be found here.

...

Code Block
--exec
-Dfcrepo.home=/mnt/fedora-data
-Dfcrepo.modeshape.configuration=classpath:/config/file-simple/repository.json


Warning

The /config/file-simple/repository.json  configuration is good for test deployments. For production we recommend a MySQL/PostgreSQL backend. See Best Practices - Fedora Configuration

Maven jetty:run

System Properties can be set when using the Maven jetty:run plugin by passing them per the example below:

...

Warning

The /config/file-simple/repository.json  configuration is good for test deployments. For production we recommend a MySQL/PostgreSQL backend. See Best Practices - Fedora Configuration

One-Click Run

If the One-Click Run is started from the command line, System Properties can be passed in per the example below:

...