APTARE upgrade fails because the Tomcat home directory does not exist at /home/tomcat

APTARE upgrade fails because the Tomcat home directory does not exist at /home/tomcat

Article: 100047667
Last Published: 2020-05-12
Ratings: 1 0
Product(s): APTARE IT Analytics

Problem

APTARE upgrade fails because the Tomcat home directory does not exist at /home/tomcat

Error Message

Error in upgrade.log:
/opt/aptare/upgrade/logs/upgrade.log

UPGRADE FAILED...
/opt/aptare/upgrade/ant/sc_upgrade.xml:158: Tomcat home directory does not exist at /home/tomcat

Cause

If the customers environment is using a shared auto-mounted directory for local users and the home path for Tomcat is not located at /home/tomcat then the upgrade will fail.

Solution

Modify the sc_upgrade.xml file and set the Tomcat home directory with the following steps:
 
Edit:
/opt/aptare/upgrade/ant/sc_upgrade.xml
 
Change this line with the tomcat home directory value:
<property name="tomcat.home" value="/home/tomcat"/>
 
To where tomcat home is located in your environment for example: /opt/users/tomcat
<property name="tomcat.home" value="/opt/users/tomcat"/>


Rerun the upgrade script to complete the upgrade:
/opt/aptare/upgrade/upgrade.sh

Was this content helpful?