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

Cause

Case Sensitivity

The class name is case sensitive and will cause the above described error if not defined appropriately.

Resolution

Class com.ca.messagingservice.engine.MessagingServiceApplication is in messaging-engine.jar.

  1. Verifying that the file system (your.commonservicesHLQ.CCSZFSB) is mounted to the path specified on the CLASSPATH

  2. 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/cfgb/messageService

  3. Next verify that in the ZMSSTART JCL the class name is in lower case as shown below:

ZMSSTART EXEC PGM=JVMLDM86,REGION=0M,
  PARM='+T com.ca.messagingservice.engine.MessagingServiceApplication'