TSSMFA receives JVMJZBL2008E Could not find or load class: com.ca.security.mfa.main.Main
search cancel

TSSMFA receives JVMJZBL2008E Could not find or load class: com.ca.security.mfa.main.Main

book

Article ID: 371990

calendar_today

Updated On:

Products

Advanced Authentication Mainframe

Issue/Introduction

TSSMFA started task receives error:


 JVMJZBL2008E Could not find or load class: com.ca.security.mfa.main.Main
 JVMJZBL2999T -> JniUtil.writeStackTrace()
 JVMJZBL2007E Stack trace follows:
 java.lang.NoClassDefFoundError: com.ca.security.mfa.main.Main
 Caused by: java.lang.ClassNotFoundException: com.ca.security.mfa.main.Main
     at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
     at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:948)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:893)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:353)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:876)
 JVMJZBL2999T <- JniUtil.writeStackTrace()
0JVMJZBL2999T <- 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

Resolution

Check with the USS administrator to validate that the TSSMFA started task is authorized in USS to mfav1.jar file.

Options :

  • Make the TSSMFA started task acid the owner of the file.
  • Add group to TSSMFA authorized to the file.

  • Set USS permission bits to allow access.


Here's an example of changing owner and permissions.  
//*                                                               
// EXPORT SYMLIST=*                                               
// SET PATHPFX='/MFASTC/directory'                                
//*                                                               
//AAMOMVS1 EXEC PGM=BPXBATCH                                      
//STDPARM  DD *,SYMBOLS=JCLONLY                                   
sh chown -R MFASTC                                                
&PATHPFX;                                                         
/*                                                                
//STDOUT   DD  SYSOUT=*                                           
//STDERR   DD  SYSOUT=*                                           

//*                                                               
//AAMOMVS2 EXEC PGM=BPXBATCH                                      
//STDPARM  DD *,SYMBOLS=JCLONLY                                   
sh chmod -R 750                                                   
&PATHPFX;                                                         
/*                                                                
//STDOUT   DD  SYSOUT=*                                           
//STDERR   DD  SYSOUT=*                                           
//*

Additional Information

It seems the 'sudo' command is no longer supported under OMVS, alternatively, use the above JCL