Versions Compared

Key

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

...

Info

See

...

the Quick Start

...

 guide to getting Fedora 4 up and running as quickly as possible.

...

Excerpt

Deploying Although deploying Fedora 4 is as easy as downloading the WAR file and copying to your servlet container's webapps directory, this document details the process.

Table of Contents

Downloads

See the latest release for Fedora 4 WAR files to download.


Include Page
System Requirements
System Requirements

Deploying with Tomcat 7

  1. Download and install Tomcat 
  2. Set the Java properties for Tomcat (see: Application Configuration and Catalina Java Properties sections below)
  3. Copy the Fedora 4 WAR file into Tomcat's "webapps" directory (e.g. /

    etc

    var/

    default/tomcat7) mentioned in the following Application Configuration section 

    lib/tomcat7/webapps)

  4. Start the server
  5. Go to the browser page that matches your fedora 4 WAR file name (e.g. http://localhost:8080/fcrepo-webapp-4.0.0-beta-4-SNAPSHOT/rest)

Deploying with Jetty 8

  1. Download and install Jetty
  2. Set the Java properties for Jetty  (see: Application Configuration and Catalina Java Properties sections below)We suggest other VM options for general Java tuning as well
  3. Copy the Fedora 4 WAR file into TomcatJetty's "webapps" directory (e.g. /var/lib/tomcat7jetty/webapps)A note on configuration: In the case where no Fedora 4 system properties have been set,
  4. Start the server
  5. Go to the browser page that matches your fedora 4 WAR file name (e.g. http://localhost:8080/fcrepo-webapp-4.0.0/rest)

Include Page
Application Configuration
Application Configuration

Anchor
javaprops
javaprops
Catalina Java Properties

fcrepo.home=<some-writable-directory>

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/tomcat7), then Fedora 4 will not deploy.

...

Set this system property to a directory writable by the tomcat process.

JVM Tuning Properties

Code Block
titleExample fcrepo.home configuration
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.home=/tmp/fcrepo4-home"

Deploying with Jetty 9

...

We have a separate page with suggested

VM options for general Java tuning

...

.

...

Include PageApplication ConfigurationApplication Configuration

...

Clustering Properties (only effective in a clustered configuration)

Code Block
-Djgroups.tcp.address=<ip-address>
-Dfcrepo.ispn.numOwners=<num-nodes-in-cluster>
-Djava.net.PreferIPv4Stack=true
-Dfcrepo.ispn.replication.timeout=<timeout-in-ms>

...