Installing QAD UI Single‑Tier > Install QAD UI Components > Install Tomcat and UI Web Application (required)
  
Install Tomcat and UI Web Application (required)
Complete this section to install the Tomcat servlet engine included on the QAD UI media and deploy the QAD UI Web application file. If you use a previously installed QAD-supplied Tomcat version, the install script validates that the existing installed version is compatible with the QAD UI release being installed.
1 Shut down any existing Tomcat instances running on the server. In a separate terminal window, navigate to TomcatInstallDir/bin and run the shutdown script.
./shutdown.sh
2 On the main menu, choose 1 to access the Tomcat installation menu.
3 If the JAVA_HOME variable is not set, you are prompted to set it before continuing. If it is set, you are prompted to confirm. For more information, see Set JAVA_HOME.
4 On the Tomcat menu, choose 1 to install Tomcat.
*** Configuration: dt01 ***
*** Tomcat Menu ***
Please choose one of the following:
1: Install Tomcat Files
2: Uninstall Tomcat
3: Return to Main Menu
<1-3>? 1
5 Enter the directory where you want to install Tomcat. Always install Tomcat in its own directory.
To use an existing Tomcat installation, specify the directory where Tomcat is installed. If the existing Tomcat is valid for the current version of QAD UI, you install the QAD UI Web application only. If the existing Tomcat installation is not compatible, you are prompted to overwrite the existing Tomcat.
Please enter the Tomcat installation directory.
No default value
->/dr01/tomcat
 
The directory '/dr01/tomcat' does not exist. Would you like to create this directory?
Default is 'y'
-> y
6 Optionally enter a new Tomcat port number.
Please enter the Tomcat port number.
Default is '8080'
->
See Update Tomcat Port Numbers.
Important: Manual updates are required when Tomcat does not use the default 8080 port or if another application is already using port 8080. These steps are detailed in topic.
7 You are informed about the compatibility of the Tomcat version and asked to confirm the install. Enter Y and press Enter to start the install.
The Tomcat installation files are extracted. The Tomcat setenv.sh and setenv.bat scripts are also updated with QAD UI-specific environment information. You are prompted to press Enter as each step completes.
8 When the Tomcat Menu displays again, choose 3 to return to the main menu.