ZMSSTART to fail with RC=1 when enabling OPS_OI_ALARM_ADAPTER_ACTIVATION_STATUS
search cancel

ZMSSTART to fail with RC=1 when enabling OPS_OI_ALARM_ADAPTER_ACTIVATION_STATUS

book

Article ID: 371366

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation COMMON SERVICES FOR Z/OS WatchTower Platform WatchTower

Issue/Introduction

When implementing WatchTower and configuring ZMSSTART, the Message Service Server, ends with an RC=1 when enabling the OPS_OI_ALARM_ADAPTER_ACTIVATION_STATUS feature..

In the output of the ZMSTART job there are the messages:

JVMJZBL1043N The Java virtual machine completed with System.exit(1)

and

 com.ca.messagingservice.adapter.AdapterLifecycleException: ops-oi-alarm-adapter: Adapter initialization failed
     at com.ca.ops.gapi.adapter.OpsAdapter.initialize(OpsAdapter.java:72)
     at com.ca.messagingservice.adapter.AdapterRegistry.initializeAdapters(AdapterRegistry.java:151)
     at com.ca.messagingservice.adapter.AdapterRegistry.start(AdapterRegistry.java:209)
     at io.dropwizard.lifecycle.JettyManaged.doStart(JettyManaged.java:27)
     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
     at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
     at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
     at com.ca.messagingservice.engine.ContainerCommand.run(ContainerCommand.java:45)
     at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:68)
     at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
     at io.dropwizard.cli.Cli.run(Cli.java:78)
     at io.dropwizard.Application.run(Application.java:94)
     at com.ca.messagingservice.engine.MessagingServiceApplication.main(MessagingServiceApplication.java:60)
 Caused by: java.lang.NoClassDefFoundError: com.ca.opsmvs.opsgenapi.OpsGenAPI
     at com.ca.ops.gapi.adapter.PushToAPI.<init>(PushToAPI.java:57)
     at com.ca.ops.gapi.adapter.OpsAdapter.initialize(OpsAdapter.java:68)
     ... 13 more
 Caused by: java.lang.ClassNotFoundException: com.ca.opsmvs.opsgenapi.OpsGenAPI
     at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
     at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:945)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:890)
     at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:1225)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:873)
     ... 15 more

Environment

z/OS

WatchTower 1.0

CCS 15.0

Cause

When enabling OPS/MVS options, it's needed to include the OPS jar modules

Resolution

The OPS jar file needs to be present at the location specified in ZMSENVT:

CCSOPJEXJAR=ccsopjex.jar

CCSOPJEXJAR_PATH=/cai/CASoftware/CCS/uss

See if the ZFS is mounted and the jar file in the specified directory is present.

Additional Information