Page History
...
You will need to create a file called setenv.sh in Tomcat's bin/ folder to increase the PermGen size given to itTomcat. This will prevent OutOfMemoryError messages caused by one of the underlying application libraries. Make Additionally, you will need to change a setting used by that same underlying library so Tomcat will properly shut down. Make sure this file is owned by the same user that runs SHRINE, and make sure it is executable:
...
Code Block | ||||
---|---|---|---|---|
| ||||
export CATALINA_OPTS=" -XX:MaxPermSize=256m -Dakka.daemonic=on " |
If using Windows, the file should be named setenv.bat instead, and the contents should look something like this:
Code Block | ||||
---|---|---|---|---|
| ||||
set CATALINA_OPTS=-XX:MaxPermSize=256m -Dakka.daemonic=on |
Deploy New shrine.war
Next, we will retrieve the new SHRINE webapp from the HMS Sonatype Nexus server at http://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/shrine-war/. Navigate to the folder for 1.20.1. From there, download shrine-war-1.20.1.war to the webapps/ directory on the SHRINE server and rename it to shrine.war.
...