...
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
- Set the following Java properties (e.g. /etc/default/tomcat7) mentioned in the following Application Configuration section
- We suggest other VM options for general Java tuning as well.
- Drop the fcrepo-webapp (or kitchen sink, or your own distribution) WAR into Tomcat
Application Configuration
System config
Code Block |
---|
-Dfcrepo. |
...
host=<hostname>
-Dfcrepo.port=<port>
-Dfcrepo.ctxt=<context> |
- fcrepo.host defaults to "localhost"
- fcrepo.port defaults to "8080"
- fcrepo.ctxt defaults to "rest"
Modeshape and Infinispan config
Code Block |
---|
-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> |
...
JMS config
Code Block |
---|
-Dfcrepo.activemq.dir=<some-dir> |
Running Fedora 4 in a clustered configuration
You can specify JGroups parameters in the java options, e.g.:
Code Block |
---|
$ MAVEN_OPTS="-Djgroups.tcpping.initial_hosts=10.0.0.105[7800] -Djgroups.tcp.address=10.0.0.104 -Dfcrepo.ispn.numOwners=2" mvn clean install jetty:run |
...