See the Quick Start guide to getting Fedora 4 up and running as quickly as possible.
Use the current document for a more complete description.
...
Deploying with Tomcat
Excerpt |
---|
Deploying Fedora 4 is as easy as downloading the WAR file and copying to your servlet container's webapps directory. |
Include Page |
---|
| System Requirements |
---|
| System Requirements |
---|
|
Deploying with Tomcat 7
- Download and install Tomcat
- Set the Java properties (e.g. /etc/default/tomcat7) mentioned in the following following Application Configuration section section
- Copy the Fedora 4 WAR file into Tomcat's "webapps" directory (e.g. /var/lib/tomcat7/webapps)
A note on configuration: In the case where no Fedora 4 system properties have been set, 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/tomcat7), then Fedora 4 will not deploy. The simplest resolution is to set the system property: "fcrepo.home=<some-writable-directory>" in the Tomcat configuration file (e.g. /etc/default/tomcat7)
Code Block |
---|
title | Example fcrepo.home configuration |
---|
|
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.home=/tmp/fcrepo4-home" |
Deploying with Jetty 9
- Download and install Jetty
- Set the Java properties (e.g. /etc/default/jetty) mentioned in the following Application Configuration section
- Copy the Fedora 4 WAR file into Jetty's "webapps" directory (e.g. /var/lib/jetty/webapps)Drop the fcrepo-webapp (or your own distribution) WAR file into Tomcat's
webapps
directory.
Include Page |
---|
| Application Configuration |
---|
| Application Configuration |
---|
|
Clustering config (optional)
...