By default, Xima® Formcycle must be opened from the subdomain such as /formcycle, for example http://formcycle.eu/formcycle/. When it becomes necessary to open Xima® Formcycle from the root domain, eg. http://naiad.formcloud.de, the following Tomcat settings need to be changed.

Using ROOT directory

In the TOMCAT_VERZEICHNIS/webapps older under ROOT delete all files. Then create a new index.html with the following content:

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Refresh" content="0; URL=formcycle">
  </head>
</html>

Using configuration file

Creating a new configuration file

Go to the directory and create a new file named ROOT.xml when it does not exist already.

Move the file formcycle.war to the root domain

By default, the Xima® Formcycle application file formcycle.war is located at TOMCAT_DIRECTORY/webapps. Move this file to some directory outside the webapps directory, such as for example TOMCAT_DIRECTORY/mywebapps/formcycle.war.

Deleting the ROOT directory

In case there exists a directory named ROOT at TOMCAT_DIRECTORY/webapps already, you need to delete this directory before starting Tomcat. By default, the ROOT directory contains the welcome pages of Tomcat.

Edit the configuration file

You must modify the context path so that it point to the new path of the formcycle.war. When the file has been moved to TOMCAT_DIRECTORY/mywebapps/formcycle.war, the configuration file must be changed as follows.

<Context path="" docBase="TOMCAT_DIRECTORY/Tomcat 8.0/mywebapps/formcycle.war">     <WatchedResource>WEB-INF/web.xml</WatchedResource>  </Context>

After restarting Tomcat Xima® Formcycle can be opened from the root domain.

Tags:
Copyright 2000-2022