Endevor Web Services installation failed with missing files
book
Article ID: 110861
calendar_today
Updated On:
Products
EndevorEndevor - ECLIPSE Plugin
Issue/Introduction
ENWSIns.sh script fails with the following message, how to fix the issue ?
[2018-07-27 14:27:28] Checking ENDEVOR_SOFTWARE_DIR ......................................... [FAILED]
> File EndevorService_lib.tar does not exist!
> File EndevorService.war does not exist!
Environment
Release: CA Endevor Software Change Manager 18.0, 18.1 Component: Endevor Web Services
Resolution
ENDEVOR_SOFTWARE_DIR is defined in the ENWSInstallOptions.properties, this parameter points to the path where CA Endevor SCM product installed. This path should contain two folders: software and tpv (for V18.0)/CA (for V18.1) For example: ENDEVOR_SOFTWARE_DIR="/path/to/endevor/v18/ESCM"
Both EndevorService_lib.tar and EndevorService.war resides in $ENDEVOR_SOFTWARE_DIR/tpv/tomcat
Restore ENDEVOR_SOFTWARE_DIR from the backup, then rerun the install installation script ENWSIns.sh.
Additional Information
The reason why both EndevorService_lib.tar and EndevorService.war are missing from $ENDEVOR_SOFTWARE_DIR/tpv/tomcat is due to the wrong ENDEVOR_TOMCAT_INSTANCE setting in the ENWSInstallOptions.properties
Customer has the following settings: $ENDEVOR_TOMCAT_INSTANCE=$ENDEVOR_SOFTWARE_DIR/tpv/tomcat CLEAN_ENDEVOR_TOMCAT_INSTANCE=Y
With CLEAN_ENDEVOR_TOMCAT_INSTANCE set to Y, the ENDEVOR_TOMCAT_INSTANCE location will be cleared (rm -rf $ENDEVOR_TOMCAT_INSTANCE) if the directory already exist. And since $ENDEVOR_TOMCAT_INSTANCE=$ENDEVOR_SOFTWARE_DIR/tpv/tomcat $ENDEVOR_SOFTWARE_DIR/tpv/tomcat and all it's contents including EndevorService_lib.tar and EndevorService.war are deleted.
The purpose of setting CLEAN_ENDEVOR_TOMCAT_INSTANCE set to Y is to allow customer run installation script multiple times and get clean install each time, $ENDEVOR_TOMCAT_INSTANCE can point to anywhere except $ENDEVOR_SOFTWARE_DIR/tpv/tomcat.