ZMSSTART fails with a class error java.lang.NoClassDefFoundError and java.lang.ClassNotFoundException
search cancel

ZMSSTART fails with a class error java.lang.NoClassDefFoundError and java.lang.ClassNotFoundException

book

Article ID: 237309

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS

Issue/Introduction

Trying to bring up messaging service task ZMSSTART for the first time on this system. It fails with this message: java.lang.NoClassDefFoundError: COM.CA.MESSAGINGSERVICE.ENGINE.MESSAGINGSERVICEAPPLICATION
Caused by: java.lang.ClassNotFoundException: COM.CA.MESSAGINGSERVICE.ENGINE.MESSAGINGSERVICEAPPLICATION.

Any idea why?

Environment

Release : 15.0

Component : CCS MESSAGE SERVICE

Resolution

Class com.ca.messagingservice.engine.MessagingServiceApplication is in messaging-engine.jar. After verifying that the file system is mounted to the path specified on the CLASSPATH next verify that cfgb/messageService/bin/messaging-engine.jar is available.

For example:

JVMJZBL1006I CLASSPATH = /example/cai/CADeploy/CCS/cfgb/messageService/bin/messaging-engine.jar

The mount point in this example is /example//cai/CADeploy/CCS.

Next verify that in the ZMSSTART JCL the class name is in lower case:

ZMSSTART EXEC PGM=JVMLDM86,REGION=0M,
  PARM='+T COM.CA.MESSAGINGSERVICE.ENGINE.MESSAGINGSERVICEAPPLICATION'

The class name is case sensitive and will case java.lang.NoClassDefFoundError: COM.CA.MESSAGINGSERVICE.ENGINE.MESSAGINGSERVICEAPPLICATION
Caused by: java.lang.ClassNotFoundException: COM.CA.MESSAGINGSERVICE.ENGINE.MESSAGINGSERVICEAPPLICATION.