JVMJZBL1038E & JVMJZBL1042E encountered in CEMETOM Job
search cancel

JVMJZBL1038E & JVMJZBL1042E encountered in CEMETOM Job

book

Article ID: 371527

calendar_today

Updated On:

Products

Compliance Event Manager

Issue/Introduction

One of the Tomcat tasks (CEMETOM) is unable to start up. The following messages are issued

JVMJZBL1038E Child shell process exited with exit code: 1
JVMJZBL1042E JZOS batch launcher failed, return code=102

It should be noted the mounted ZFS file system is in R/O mode.

Environment

z/os Tomcat

Cause

Trying to write to a R/O file

Resolution

It is noted in the tomcat output these 2 lines are uncommented:
#set -x                                                    
#exec /bin/sh 2>@CEM_USSPATH@/cai/cacem/logs/jzos_debug.out


When these are uncommented, the spawned USS shell will try to write out to a file in the cem/logs directory. Since the mount for this is readonly, this is causing the task to shut down as soon as it is started and because this is the first actionable line in the env member, no tracing is output in the tomcat task. 
The solution is to Either:
1) Change the path of this file to point to the read/write path the other parts are pointed to.
2) Comment these two lines out.