Automic Workload Automation

 View Only
  • 1.  How to make AWI the Tomcat landing page

    Posted Mar 23, 2018 11:52 AM
    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,

  • 2.  How to make AWI the Tomcat landing page

    Posted Mar 26, 2018 08:16 AM
    Method #2 is by far the better one.

    Also, I need a button for "I like one half of this post, and want to heavily downvote the other":

    I'm always highly amused by the fact that Automic reacts very disapproving when someone wants to fiddle in "their" database, but has absolutely no qualms fiddling with the internal workings of other products with frankly little regard for the consequences. Like files being, among other things, managed by Linux package managers (plus, some Tomcat installs don't have the ROOT webapp at all ...).

    tl;dr: server.xml is the correct way.

    Just my $0.02,