When installing or upgrading Applications Manager, Tomcat may fail to install. The return message is "Tomcat already exists/installed on this machine."
This message is seen even though Tomcat may not be installed. Example message from installation below:
Enter Source Path and OJDBC jar file (example: /home/jar/ojdbc6.jar) :
/usr/users/appworx/ojdbc8. jar
Copy ojdbc from /usr/users/appworx/ojdbc8.jar to /usr/users/appworx/ojdbc/ojdbc.
Copy ojdbc jar file done.
Applications Manager requires a web server to upload the Applications Manager
Java Client to user's machines.
The Tomcat Web Server is included with Applications Manager.
Would you like to install Tomcat now? [N]
Y
Silent installation? [Y]
Tomcat already exists/installed on this machine.
Release : 9.4.x
Defect.
Installation script is coded to check if SERVER_ROOT environment variable exists. This may exist if Apache Webserver was previous installed.
Fixed in 9.5.0.
This issue can occur if the following environment variable exist:
SERVER_ROOT
Check to see if this environment variable exist by running:
echo $SERVER_ROOT
If a value is returned, unset the environment variable by running:
unset SERVER_ROOT
Once SERVER_ROOT has been unset, run the installation and attempt to install Tomcat once more.