...
Include Page | ||||
---|---|---|---|---|
|
Deploying with Tomcat
...
9
- Download and install Tomcat
- Set the Java properties for Tomcat (see: Application Configuration and Catalina Java Properties sections below)
Copy the Fedora WAR file into Tomcat's "webapps" directory (e.g. /var/lib/tomcat8tomcat9/webapps)
- Start the server
- Go to the browser page that matches your Fedora WAR file name (e.g. http://localhost:8080/fcrepo-webapp-x.x.x/rest)
...
Sets the home for Fedora's persisted data. Without this setting Fedora tries to use the current-working-directory as the home of persisted data. If the Tomcat user does not have write access to the installation area (e.g. /var/lib/tomcat8tomcat9), then Fedora will not deploy. Set this system property to a directory writable by the tomcat process.
...
We have a separate page with suggested VM options for general Java tuning.
Clustering Properties (only effective in a clustered configuration)
...
.
...
- fcrepo.ispn.replication.timeout can be used to set the timeout of infinispan replication in a clustered environment