search cancel

ESMPROC RC=0100 after PTF LU07250

book

Article ID: 256576

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS

Issue/Introduction

Applied new PTFs for ESM and CCS SAF service, but after applying, ESMPROC task no longer stays active. It ends with RC=0100

 JVMJZBL2010E Exception occurred invoking org.springframework.boot.loader.JarLauncher.main()
 JVMJZBL2999T -> JniUtil.writeStackTrace()
 JVMJZBL2007E Stack trace follows:
 java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
     at java.lang.reflect.Method.invoke(Method.java:508)
     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
     at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
     at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
 Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'esmStatelessControllerV2
 ' defined in URL Ýjar:file:/B/Sw_SC/CA/CCS/V150/Base/misc/esmMService/esm.jar]/BOOT-INF/classes]/com/ca/esm/controllers/EsmStateless
 ControllerV2.class~: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans
 .factory.UnsatisfiedDependencyException: Error creating bean with name 'statelessUserService' defined in URL Ýjar:file:/B/Sw_SC/CA/C
 CS/V150/Base/misc/esmMService/esm.jar]/BOOT-INF/classes]/com/ca/esm/services/StatelessUserService.class~: Unsatisfied dependency exp
 ressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
 bean with name 'zosCcsSafAuthService' defined in URL Ýjar:file:/B/Sw_SC/CA/CCS/V150/Base/misc/esmMService/esm.jar]/BOOT-INF/classes]
 /com/ca/esm/services/saf/auth/ZosCcsSafAuthService.class~: Bean instantiation via constructor failed; nested exception is org.spring
 framework.beans.BeanInstantiationException: Failed to instantiate Ýcom.ca.esm.services.saf.auth.ZosCcsSafAuthService~: Constructor t
 hrew exception; nested exception is java.lang.UnsatisfiedLinkError: bcm-apisdk-security (Not found in java.library.path)

Environment

Release : 15.0
Component: ESM Microservice

Cause

Updated ESMENV file delivered with LU07250 not being used.

The primary change was an additional LIBPATH statement being added.

Resolution

Update the ESM environment variables (ESMENV) found in CAW0OPTV to add the additional LIBPATH statement.

Below is an example of what LIBPATH statements should be defined following the application and deployment of LU07250.

# Environment Setup (Class and Path Variables, Dump settings)    
cd $PRODUCT_HOME                                                 
export JAVA_HOME                                                 
export PATH=/bin:"${JAVA_HOME}"/bin                              
CLASSPATH="${IRRRacf_LOCATION}/IRRRacf.jar"                      
export CLASSPATH="${CLASSPATH}:${ccsopjex_LOCATION}/ccsopjex.jar"
                                                                 
LIBPATH=/lib:/usr/lib:"${JAVA_HOME}"/lib/s390x                   
LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib/s390x/classic              
LIBPATH="$LIBPATH":"${PRODUCT_HOME}"/lib                         
export LIBPATH                                                   
export IBM_JAVA_OPTIONS="$IJO"                                   
export _BPX_SHAREAS=NO                                           
export JAVA_DUMP_HEAP=false                                      
export JAVA_PROPAGATE=NO                                         
export IBM_JAVA_ZOS_TDUMP=NO