Endevor Web Service HealthCheck page Create New Configuration gives HTTP Status 500 – Internal Server Error
search cancel

Endevor Web Service HealthCheck page Create New Configuration gives HTTP Status 500 – Internal Server Error

book

Article ID: 409374

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Installed Endevor Web Service. 

Open the HealthCheck page by entering protocol://host:port/EndevorService URL on the browser, Click "Create New Configuration", and got

 HTTP Status 500 – Internal Server Error

 

 

Environment

Endevor V19

Cause

Web Service Tomcat STC WSTOMSTC runs under USER WSTOMSTC, GROUP OMXXXGRP, WSTOMSTC user is lacking the write access to $CATALINA_BASE/webapps/endevor

to write initialSecurityToken and initialSecurityToken_EBCDIC files. 

# ls -l $CATALINA_BASEt/webapps       

drwxr-xr-x   3 TXXXX   SYSXXXGS    8192 Aug 15 13:44 endevor       << ls -l output shows only user TXXXX has the write access to $CATALINA_BASE/webapps/endevor

 

Resolution

Reinstall web services and set:
CLEAN_ENDEVOR_TOMCAT_INSTANCE=Y
ACTION=INSTALL
RUN@ROOT='YES' 

This will grant Tomcat user the correct permissions. 

Customize server.xml (if it's needed) and ENDEVOR.cfg, then restart Tomcat STC (WSTOMSTC). 

Reload the healthcheck, and click the Create New Configuration, Tomcat user is able to create initialSecurityToken and initialSecurityToken_EBCDIC files under $CATALINA_BASE/webapps/endevor

Then you will be able to proceed to next page (to verify those security tokens):