Repository navigation
Jetty
Doug Hagan edited this page Sep 5, 2017
·
15 revisions
Jetty is used as a web server for the MeTL Lift application. When developing locally it is run embedded, but on the AWS instances it hosts deployed WARs.
- Backup the server (snapshot to an AMI).
- Download the Jetty jar (eg
9.4.6.v20170531from Jetty download page).
Jetty runs from /srv/jetty. This is a symlink to /srv/jetty-distribution-9.x.
- Create a parallel directory for the new distribution. Don't update the symlink yet.
- Copy the following directories from the old jetty dir to the new one:
-
/appsholds the WAR as well as the release script for downloading new versions from S3 -
/appConfholds the application config -
/webAppsholdscontext.xmlthat directs Jetty to the WAR in/apps
-
Reference: Jetty upgrade notes