Versions Compared

Key

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

...

Code Block
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.home=/mnt/fedora-data"

Alternatively on Windows and Linux systems you can set the following file:

No Format
CATALINA_BASE/bin/setenv.sh (linux)
CATALINA_BASE/bin/setenv.bat (windows)

Within that file, new properties can be added per the example below respectively:

Code Block
export JAVA_OPTS="$JAVA_OPTS -Dfcrepo.home=/mnt/fedora-data" (linux)
set JAVA_OPTS="$JAVA_OPTS -Dfcrepo.home=C:/mnt/fedora-data" (windows)

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

...

Code Block
JAVA_OPTIONS="${JAVA_OPTIONS} -Dfcrepo.home=/mnt/fedora-data"

Alternatively on Windows and Linux systems you can set the following file:

No Format
{JETTY_DIST}/start.ini

Within that file, new properties can be added per the example below:

Code Block
--exec
-Dfcrepo.home=/mnt/fedora-data

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

...