CC 0100 and "JVMJZBL2008E Could not find or load class" after Datacom System REST API version fallback
search cancel

CC 0100 and "JVMJZBL2008E Could not find or load class" after Datacom System REST API version fallback

book

Article ID: 410977

calendar_today

Updated On:

Products

Datacom Datacom/DB

Issue/Introduction

After a fall back from version 2.0.04-211 to version 2.0.03-201, Datacom USS System REST API server cannot be initialized, since it gets a Condition Code 0100 at startup. 

The following messages can be found on server SYSOUT:

JVMJZBL1023N Invoking org.springframework.boot.loader.PropertiesLauncher.main()...                 
JVMJZBL1056I Arguments to main...                                                                  
JVMJZBL1057I --spring.config.additional-location=file:config/application_datacom.yml               
JVMJZBL2999T -> JniUtil.convert()                                                                  
JVMJZBL2999T <- JniUtil.convert()                                                                  
JVMJZBL2008E Could not find or load class: org.springframework.boot.loader.PropertiesLauncher      
JVMJZBL2999T -> JniUtil.writeStackTrace()                                                          
JVMJZBL2007E Stack trace follows:                                                                  
java.lang.NoClassDefFoundError: org.springframework.boot.loader.PropertiesLauncher                 
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.loader.PropertiesLauncher    
.at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:766)        
.at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)     
.at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1073)                               
JVMJZBL2999T <- JniUtil.writeStackTrace()                                                          
JVMJZBL2999T <- invokeMain()                                                                       
JVMJZBL2999T <- run()                                                                              
JVMJZBL2999T -> cleanup()                                                                          
JVMJZBL1014I Waiting for non-daemon Java threads to finish before exiting...                       
JVMJZBL2999T JvmExitHook entered with exitCode=0, javaMainReturnedOrThrewException=0               
JVMJZBL1042E JZOS batch launcher failed, return code=100                                           
JVMJZBL2999T DestroyJavaVM elapsed time=0.004415 seconds, cpu time=0.000771 seconds                
JVMJZBL2999I JZOS batch launcher elapsed time=0 seconds, cpu time=0.240000 seconds (zOS release 29)
JVMJZBL1047W JZOS batch launcher completed with Java exception, return code=100     

Environment

Datacom System REST API on USS

Cause

The values of REST_VERSION and DBAPI_VERSION parameters are not correctly set.

Resolution

The values REST_VERSION and DBAPI_VERSION parameters in the Server JCL must be set back to the currently used versions.

Change:
export REST_VERSION=2.0.04-211 
export DBAPI_VERSION=1.0.4-0022
to:
export REST_VERSION=2.0.03-201 
export DBAPI_VERSION=1.0.4-0021