WSTOMSTC ABEND U4038
search cancel

WSTOMSTC ABEND U4038

book

Article ID: 205782

calendar_today

Updated On:

Products

Endevor Endevor - ECLIPSE Plugin

Issue/Introduction

Start Endevor Web Service Tomcat and get ABEND U4038 

IEF450I NVTOMSTC NVTOMSTC - ABEND=S000 U4038 REASON=00000001

PSW AT TIME OF ERROR  078D1400   ADB015D2  ILC 2  INTC 0D              
    ACTIVE MODULE           ADDRESS=00000000_2DA38000  OFFSET=000C95D2   
    NAME=CEEPLPKA                                                        
    DATA AT PSW  2DB015CC - 00181610  0A0D58D0  D00498EC                 
                                 

Environment

All supported Endevor Version

Endevor Web Services

Cause

Also found following error in the Tomcat log: 

CEE3501S The module libjvm.so was not found.                                   
          From entry point JzosVM::initializeVMArgs() at compile unit offset +00000094 at entry offset +00000094 at 
          address 2DA0620C.      

JVM can't be found at the defined JAVA_HOME location, JVM initilization failure is the root cause of the Abend in Tomcat.   

 

Common Causes for U4038 in Java Launcher:

  • Java version does not match the ZOS addressing mode (AMODE) - for example attempting to run 64 bit Java on ZOS AMODE 31
  • Incorrect LIBPATH: The libjvm.so are not found in the LIBPATH environment variable.
  • Java Version Mismatch: Upgrading Java (e.g., from 8 to 17) without updating the JCL/procedure, leading to invalid library paths.
  • Memory/Resource Issues: Insufficient region size or memory available to the JVM                                             

Resolution

For Endevor V18.1:

Update JAVA_HOME setting in ENWSInstallOptions.properties and do a fresh reinstall of Endevor web services:

  1. Set CLEAN_ENDEVOR_TOMCAT_INSTANCE=Y in ENWSInstallOptions.properties
  2. Update JAVA_HOME setting in ENWSInstallOptions.properties 
  3. Run ENWSIns.sh 

For Endevor V19:

Update JAVA_HOME setting in WSTOMINS JCL and do a fresh reinstall of Endevor web services:

  1. Set CLEAN_ENDEVOR_TOMCAT_INSTANCE=Y
  2. Update JAVA_HOME setting
  3. Rerun WSTOMINS