Versions Compared

Key

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

 

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.

Table of Contents

...

Deploying with Tomcat

Excerpt

Deploying Fedora 4 is as easy as downloading the WAR file and copying to your servlet container's webapps directory.

Table of Contents

Include Page
System Requirements
System Requirements

Deploying with Tomcat 7

  1. Download and install Tomcat
  2. Set the Java properties (e.g. /etc/default/tomcat7) mentioned in the following following Application Configuration section  section 
  3. 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
      titleExample fcrepo.home configuration
      JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.home=/tmp/fcrepo4-home"

Deploying with Jetty 9

  1. Download and install Jetty
  2. Set the Java properties (e.g. /etc/default/jetty) mentioned in the following Application Configuration section 
  3. 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)

...