Installing and Preparing the Apache Tomcat Web Server

The AWIProduit Automic : interface Web, simple et claire, qui permet l'+char(39)+'accès aux différentes fonctionnalités d'+char(39)+'Automation Engine. runs on a Apache Tomcat web server, an open source software. You need to download and install it, and then configure it to handle the AWI installation packageUn package est une instance (version, révision, balise, …) de votre application définissant le contenu à déployer. Il vous permet de décider si vous souhaitez déployer toute l'application ou uniquement certains composants spécifiés. .

After making sure that you've installed the correct version of Java, you are ready to install the Tomcat web server.

Steps...

  1. Check the Contrôleur de compatibilité Automic to see which version of Tomcat you need.
  2. Go to the Tomcat homepage and then download and install the required version. You will find the installation instructions and other relevant information on their homepage.

    http://tomcat.apache.org/index.html

    For Windows: Download the package called "32-bit/64-bit Windows Service Installer." This will install Tomcat and a Windows service for it.

  3. To improve performance on browsers with poor connections, adapt your Tomcat configurationUn ensemble de composants qui constituent un système. Ceci comprend des informations relatives à la manière dont les composants sont connectés, ainsi que les paramètres appliqués. so that Tomcat uses the NIO2 connector and the upload timeout attribute is enabled.

    To do this, open the <Tomcat>/conf/server.xml file and edit it as follows:

    Before:

    <Connector port="8080" protocol="HTTP/1.1"

         connectionTimeout="20000"

         redirectPort="8443" />

    After:

    <Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol"

         connectionTimeout="20000"

         redirectPort="8443"

         disableUploadTimeout="false"

         connectionUploadTimeout="10000"/>

    For complete information about the Tomcat connector configuration attributes, see https://tomcat.apache.org/tomcat-7.0-doc/config/http.html.

  4. Increase the memory that Tomcat can allocate to AWI to the amount described in the table that follows..

    Reason: By default Tomcat allocates a low amount of memory to an applicationUne application est un logiciel qui aide l'utilisateur à réaliser des tâches spécifiques. Dans un environnement ARA, voir aussi : Entité d'application. . This is not sufficient for AWI, which keeps a lot of UI state data in memory.

    Memory ParameterAmount to Allocate
    Heap size

    As much as possible (at the very least 2GB)

    On Windows:

    1. Go to the "bin" folder in your Tomcat installation (...Apache Software Foundation\Tomcat 7.0\bin).
    2. Right-click the file tomcat7w.exe and from the context menu select Run as administrator.
    3. On the Java tab make the following changes:
      • Set the heap size by setting the Maximum memory pool to the maximum possible on your system, for example 8192MB, as shown below.

    On Linux: In the CATALINA_OPTS environment variable, set the heap space to the maximum possible on your system. In this example, the heap space is set to 8192MB:

    -Xmx8192m

  5. Make sure that Tomcat automatically starts when you start the server that it is installed on, for example, with a Windows service or an init scriptEgalement un type d'objet distinct dans l'Automation Engine..
  6. Start Tomcat.

Important: If you want to be able to log into more than one AWI instance on the same Tomcat installation, you have to complete additional setup steps. For information, see Running Multiple AWI Instances on One Tomcat Server.