How to make AWI the Tomcat landing page

Discussion created by Antoine_Sauteron_1266 on Mar 23, 2018
Latest reply on Mar 26, 2018 by Carsten_Schmitz
Here are 2 methods to make AWI the landing page of Tomcat.

Method 1 :

- Stop Tomcat
- delete ROOT directory in <Tomcat>\webapps
- rename awi.war ROOT.war
- restart Tomcat.

Method 2 :

Edit <Tomcat path>\conf\server.xml and add <Context path="" docBase="<awi>"/> in the <Host> tag.

<Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">
        <Context path="" docBase="awi_12.1"/>
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log" suffix=".txt"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />

The AWI can now be accessed directly from <hostname/ host IP>:8080


P.S. : There should be a third method that uses ROOT.xml, but I couldn't get it to work.
Maybe someone knows how to do it ?

Best regards,