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.
Example:<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 "%r" %s %b" />
</Host>
The AWI can now be accessed directly from
<hostname/ host IP>:8080P.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,
Antoine