WAR Installation - Documentation topics on: installation,war,application servers,.

WAR Installation

DotCMS can be deployed as a .WAR on a variety of application servers, each with their own nuances.  See the topics above for server specific configuration instructions for each application server.

Dotcms ships with a buildwar.sh script in the /bin directory that will generate a War directory and a dotcms.war file that includes the static plugins in the plugins directory.  This war file can then be used with any supported application server.

Here are the steps that should be followed to properly deploy dotCMS as a .WAR:

  1. Make sure your static plugins are in your /plugins directory
  2. Configure the Application Server (see the Application Server configuration documentation)

  3. (If running Tomcat App Server ONLY) Before building your .WAR file, configure your database in the dotserver/tomcat-X.X.XX/webapps/ROOT/META-INF/context.xml file

  4. Run the buildwar.sh script from the dotCMS /bin directory

  5. Move the WAR file to use with your Application Server

The war file will include configuration files and static plugins for use with your Application Server.