System Requirements

 

The github repository has a post-commit hook that trigger a build on ci.fcrepo.org. This build publishes maven artifacts to sonatype, and pushes the fcrepo-kitchen-sink war to futures6: http://fcrepo4.fcrepo.org/fcrepo/rest/.  
Fedora 3 is also deployed on futures6: http://fcrepo4.fcrepo.org/fedora.

Deploying with Tomcat

  1. Set the Java properties (e.g. /etc/default/tomcat7) mentioned in the following Application Configuration section 
  2. Drop the fcrepo-webapp (or kitchen sink, or your own distribution) WAR into Tomcat

Application Configuration

System config
-Dfcrepo.modeshape.configuration=<path-to-repository.json>
-Dfcrepo.infinispan.cache_configuration=<path-to-infinispan.xml>
-Dfcrepo.host=<hostname>
-Dfcrepo.port=<port>
-Dfcrepo.ctxt=<context>
Modeshape and Infinispan config
-Dcom.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.default.objectStoreDir=<some-dir>
-Dcom.arjuna.ats.arjuna.objectstore.objectStoreDir=<some-dir>
-Dfcrepo.ispn.CacheDirPath=<some-dir>
-Dfcrepo.ispn.binary.CacheDirPath=<some-dir>
-Dfcrepo.modeshape.index.location=<some-dir>
-Dfcrepo.ispn.alternative.CacheDirPath=<some-dir>
-Dfcrepo.ispn.binary.alternative.CacheDirPath=<some-dir>
-Dfcrepo.ispn.repo.CacheDirPath=<some-dir>

JMS config

-Dfcrepo.activemq.dir=<some-dir>
Clustering config (optional)
-Djgroups.tcp.address=<ip-address>
-Dfcrepo.ispn.numOwners=<num-nodes-in-cluster>
-Djava.net.PreferIPv4Stack=true