Installing the Alfresco WAR

A WAR file is a JAR file used to distribute a collection of files (JavaServer Pages, servlets, Java classes, XML files, tag libraries, and static Web pages) that together constitute a web application.

Use this method of installing if you already have installed a JDK, a supported database, an application server, and the additional Alfresco components.
The Alfresco WAR file is a bundle file containing the required WAR files, in addition to the additional commands, configuration files, and licenses for a manual installation.
  1. Browse to the Alfresco Enterprise download area.
  2. Download the following file:
    alfresco-enterprise-3.4.12.zip
  3. Specify a location for the download.
  4. Extract the WAR file.

    The WAR bundle extracts into the following directory structure:

    bin
    licenses
    web-server
    The WAR bundle also contains the following file:
    README.txt
    The following files are contained within the suggested subdirectories for within the Tomcat application server.

    /bin

    File name Description
    alfresco-bm.jar The JCR Benchmarking toolkit.
    alfresco-mmt.jar The Alfresco Module Management Tool (MMT).
    apply_amps.bat Windows batch file for Tomcat application server installs, used to apply all AMP files in the <installLocation> directory.
    apply_amps.sh Linux script file for Tomcat application server installs, used to apply all AMP files in the <installLocation> directory.
    clean_tomcat.bat Windows batch file for cleaning out temporary application server files from previous installations.
    clean_tomcat.sh Linux script for cleaning out temporary application server files from previous installations.
    Win32NetBIOS.dll Required for CIFS.
    Win32NetBIOSx64.dll Required for CIFS on 64-bit Windows.
    Win32Utils.dll Required for CIFS.
    Win32Utilsx64.dll Required for CIFS on 64-bit Windows.

    The /licenses directory contains the following structure:

    3rd-party

    This directory contains the third-party license files.

    The web-server directory contains the following structure:
    conf
    lib
    shared
    webapps
    /conf
    File name Description
    catalina.properties Used to define property settings for Tomcat.
    context.xml Used to define Context element settings for Tomcat for controlling certain behaviors for the application and the JNDI settings.
    server.xml Used to define server configuration elements for Tomcat.
    /lib
    File name Description
    postgresql-9.0-801.jdbc4 PostgreSQL database JDBC connector file.
    /shared
    File name Description
    /classes/alfresco-global.properties.sample The global properties file, which is used for Alfresco configuration properties.
    /classes/alfresco Contains the Alfresco directory structure for the configuration override files, including the extension and web-extension directories.
    /webapps
    File name Description
    alfresco.war The Alfresco WAR file.
    share.war The Alfresco Share WAR file.
  5. Move the alfresco.war file and share.war files to the appropriate location for your application server.
    For example, for Tomcat, move the .war files to the <TOMCAT_HOME>/webapps directory.
  6. Edit the /shared/classes/alfresco-global.properties.sample file with your configuration settings.
  7. Save the file without the .sample extension.
  8. Move the alfresco-global.properties file to <classpathRoot>.
    For example, <TOMCAT_HOME>/shared/classes.
If you deployed previous versions of Alfresco, you must remove any temporary files created by your application server. Use the clean_tomcat.bat or clean_tomcat.sh command.
Did this page help you?

Click here to provide feedback.