Tomcat fails to install due to Tomcat already exists or installed on this machine message
search cancel

Tomcat fails to install due to Tomcat already exists or installed on this machine message

book

Article ID: 264779

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

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]

Silent installation? [Y] 
Tomcat already exists/installed on this machine. 


Environment

Release : 9.4.x

Cause

Defect.

Installation script is coded to check if SERVER_ROOT environment variable exists. This may exist if Apache Webserver was previous installed.

Resolution

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.