How do I setup Artifactory to run as the “ROOT” application in Tomcat?

The following steps can be used to setup Artifactory to run as the "ROOT" app in Tomcat without contextURL.

For Artifactory bundled Tomcat:

    • Change the war file name in $ARTIFACTORY_HOME/webapps to "ROOT.war"

    • Change $ARTIFACTORY_HOME/tomcat/conf/Catalina/localhost/artifactory.xml to "ROOT.xml"

    • Edit this file, change the context path to "/" and docBase to "${artifactory.home}/webapps/ROOT.war"

    • Remove the tomcat/work/Catalina dir

    • Remove the tomcat/webapps/ exploded directories

    • For a Standalone Tomcat instance:

      1. Change the "artifactory.war" filename to "ROOT.war"

      2. If you already have a deployed artifactory folder under $TOMCAT_HOME/webapps/, then please remove it.

      3. Deploy the "ROOT.war" file to $TOMCAT_HOME/webapps/