...
Within that file, new properties can be added per the example below respectively:
Code Block |
---|
exportset JAVACATALINA_OPTS="$JAVA%CATALINA_OPTSOPTS% -Dfcrepo.ispn.home=/mnt/fedora-data" (linux) set JAVA_OPTS="$JAVA_OPTS -Dfcrepo.home=C:/mnt/fedora-data" (windows)repo.CacheDirPath=F:\fedora\cache |
Note: when starting up tomcat on windows if you receive an error like the following it may be necessary to include a fcrepo.ispn.repo.CacheDirPath like above.
Code Block |
---|
Caused by: org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: F:\apache-tomcat-7.0.50-windows-x64\apache-tomcat-7.0.50\bin\fcrepo4-data\fcrepo.ispn.repo.CacheDirPath\data\MANIFEST-000002: The handle is invalid. |
Additional information regarding the configuration of System Properties in Tomcat 7 can be found here.
...