Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.
A WAR file is provided for the Apache Tomcat installation that contains many of the files needed for Magnolia. When the WAR file is deployed, the files in the WAR file are extracted and placed in the server's
webapps directory. The remaining directories and files, including the repositories, are retrieved during the deployment and installation.
Tomcat should not be running when executing the following procedure.
To deploy WAR file:
/bindirectory in the Apache Tomcat directory:
setenv.shfile and add:
export CATALINA_OPTS="-server -Xmx512m"
setenv.batfile and add:
set CATALINA_OPTS=-server -Xmx768m -XX:PermSize=256m -XX:MaxPermSize=512m
When deploying the Magnolia WAR file Tomcat will need time and heap size to extract the file and bootstrap repositories. Once bootstrapped, Tomcat will not need that much heap anymore.
A directory containing the content of the WAR file and retrieved files is created in the server's
If you need to configure Tomcat to use virtual hosts, data sources, etc., see Tomcat Documentation and Configuration Reference.
Magnolia recommends using Tomcat with Apache due to the high availability of skilled staff to configure Apache and the ability to configure Apache to serve static fallback content when Tomcat is down.