By default, FORMCYCLE must be opened from the subdomain such as /formcycle, for example http://formcycle.eu/formcycle/. When it becomes necessary to open 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 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 FORMCYCLE can be opened from the root domain.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article