Endevor V19 WSTOMINS: ENDEOVR.cfg cp failure
search cancel

Endevor V19 WSTOMINS: ENDEOVR.cfg cp failure

book

Article ID: 251599

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Run Endevor V19 WSTOMINS job to install web services, its failing to copy the ENDEVOR.cfg.

 

================================================================================         
                **** Installation complete with WARNINGs ****                            
================================================================================         
cp: WEB-INF/endevor/ENDEVOR.cfg: EDC5129I No such file or directory.                     

Environment

Release : 19.0

Component : Endevor

Cause

Batch job WSTOMINS with action=INSTALL calls install script ENWSIns.sh

image.png

install script runs jar xf command to extract the contents of EndevorService.war file, it creates WEB-INF/endevor if it doesn't already exist, and places a copy of ENDEVOR.cfg to it. 

If the jar command fails due to memory issue, the next cp command (copy WEB-INF/endevor/ENDEVOR.cfg to ENDEVOR_TOMCAT_INSTANCE/webapps/endevor) also fails, and the following error is issued to the WSTOMINS output.

cp: WEB-INF/endevor/ENDEVOR.cfg: EDC5129I No such file or directory.      

Resolution

Add REGION=0M to batch job WSTOMINS jobcard, this will grants the job access to all available storage - allow success run of jar xf command (extract ENDEVOR.cfg from EndevorService.war file).