Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  1. In the tomcat webapps directory, create a symbolic link called ROOT to vivo. This will redirect all requests to root to the vivo application.

    Code Block
    cd /usr/local/tomcat/webapps
    rm -rf ROOT
    ln -s vivo ROOT
    ls -latr
    ROOT -> vivo

  2. Modify the <Host> in Tomcat server.xml (located in [tomcat root]/conf/) so that the context path is empty to allow VIVO to be served from the root path. Locate the <Host name="localhost"...> directive and update as follows:

Code Block
<Host name="localhost" appBase="webapps"
        unpackWARs="true" autoDeploy="false"
        xmlValidation="false" xmlNamespaceAware="false">
        <Context path=""
                cookies="true" >
            <Manager pathname="" />

After setting up the above, it is recommended that you modify the Tomcat AJP connector parameters in server.xml. Look for the <connector> directive and add the following properties:

Code Block
    connectionTimeout="20000" maxThreads="320" keepAliveTimeout="20000"

Note: the value for maxThreads (320) is equal or greater than the value for MaxClients in the apache's httpd.conf file.

3. in the tomcat/conf directory - create a ROOT.xml with the context element as stated above. This was suggested, but somebody needs to verify and complete this document.