Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed one-click run

...

If you have a reverse proxy for serving HTTPS that uses Tomcat's HTTP port, you will also need to set up a RemoteIPValve in your server.xml in order for Tomcat to rewrite links with HTTPS.

...

No Format
        <Valve className="org.apache.catalina.valves.RemoteIpValve"
               protocolHeader="xX-forwardedForwarded-protoProto" />

Anchor
jetty
jetty
Jetty 9

...

Code Block
mvn -Dfcrepo.home=/mnt/fedora-data jetty:run

One-Click Run

One option is to use the "one click" application, which comes with an embedded Jetty servlet. This can be optionally built by running:

Code Block
mvn install -pl fcrepo-webapp -P one-click

...

Code Block
java -jar ./fcrepo-webapp/target/fcrepo-webapp-<version>-jetty-console.jar

...

Code Block
java -Dfcrepo.home=/data/fedora-home -jar fcrepo-webapp-6.0.0-SNAPSHOT-jetty-console.jar

Click here for a complete list of configurable properties.