This is a copy of jetty with the needed applications for running Hydra. These include two java-based applications:
- jetty: 8.1.16
- solr: 4.10.3
- fedora: 4.1.0
git clone https://github.com/projecthydra/hydra-jetty cd hydra-jetty java -Xmx512m -XX:MaxPermSize=512m -jar start.jar
You can also change the port jetty starts on by editing the file etc/jetty.xml and changing this line to indicate a different port number:
<Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set>
For use within your Hydra application's Rails directory.
rake jetty:install rake jetty:start
See jettywrapper for more information regarding configuration and usage. Port numbers and other java options maybe configured via the gem.
When jetty is finished initializing itself, Solr is available at
and Fedora is available at
- basic authorization is enabled an requires the username/password
- this is configured under jetty-users.properties
You can see a list of all installed applications at
Solr and Jetty
Solr is updated by downloading the latest from Lucene, which includes an instance of Jetty in the
example directory. Updating is a process of replacing the jar files as well as the solr.war and start.jar files. Note that the
example from Lucene does not include the start.ini file.
For tesing migration from Fedora version 3 to 4, the
fedora-4/migration branch has both Fedora 3 and Fedora 4 installed, along with Solr, and is available
via this url: