Endevor Web Interface - endevor_web_interface.yml not found
search cancel

Endevor Web Interface - endevor_web_interface.yml not found

book

Article ID: 369338

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Starting the web interface for the first time and found the following error: 


org.springframework.boot.context.config.ConfigDataResourceNotFoundException: Config data resource 'file [${ENDEVOR_WI_CONFIG_DIR}/endevor_web_interface.yml]' via location 'file:${ENDEVOR_WI_CONFIG_DIR}/endevor_web_interface.yml' cannot be found

Environment

Endevor V19

Web Interface

Cause

WSTOMENV has the following setting:

ENDEVOR_WI_CONFIG_DIR=${CATALINA_BASE}/webapps/endevor   
ENDEVOR_WI_LOGS_DIR=${CATALINA_BASE}/logs    

It's missing the export statement, the export statement provides the ability to update the current shell session about the changes made to the exported variable. 

Resolution

export ENDEVOR_WI_CONFIG_DIR   
export ENDEVOR_WI_LOGS_DIR     

Add the above 2 export statements to WSTOMENV, restart Tomcat.