Magnolia 6.1 reached extended end of life on June 2, 2020. Support for this branch is limited, see End-of-life policy.
WAR means Web Application Archive. A WAR file is a zipped Java web application containing all the resources such as JAR files, Java classes, static resources and configuration data.
Since a WAR file is one single file, it is the easiest way to deploy a Java Web application to an application server. Many vendors support WAR file deployment in different ways. Please read the manual of your application server.
Remember that every Magnolia instance (author or public) is its own Java Web application. Deploy one WAR file per instance. Magnolia provides preconfigured WAR files for Community Edition or DX Core. When using custom webapps, use Maven to build the WAR file of your custom bundle webapp.
Preconfigured Magnolia WAR files
Application server | DX Core | Community Edition |
---|---|---|
Tomcat | ||
JBoss | ||
IBM WebSphere | - | |
Oracle WebLogic 10 | - |
Deploying a WAR file on an application server is a procedure which differs from one server to the next. Some servers require specific steps to deploy Magnolia.
If you make no changes to the webapp before deployment, it will automatically be deployed as an author instance. If you change the name of the webapp to magnoliaPublic
by for example renaming the WAR file to magnoliaPublic.war
, it will be automatically deployed as a public instance. The name of the webapp folder determines the configuration that will be used. This is discussed in detail in WAR file with multiple configurations .
If you are not familiar with these procedures, use a standalone installation that ships with an application server.