IBM Support

DFHSJ0210 ENCLAVE_INIT_FAILED when attempting to start a JVM server

Troubleshooting


Problem

You have a CICS Transaction Server for z/OS (CICS TS) JVM server that fails to start. You receive message DFHSJ0210 An attempt to start a JVM for the JVMSERVER resource has failed Reason code: ENCLAVE_INIT_FAILED. You also receive message DFHSJ0914E.

Symptom

You have a JVMSERVER defined in your CICS TS region that fails to start. Your receive messages:
DFHSJ0210 applid An attempt to start a JVM for the JVMSERVER resource jvmserver has failed. Reason code: ENCLAVE_INIT_FAILED.
DFHSJ0914 E applid userid JVMSERVER jvmserver is DISABLED because the Language Environment Enclave was not created.

The CICS JOB log has a JES file with the name format of SYSnnnnn that contains the following messages:
EDC5122I Input/output error. (errno2=0xEF5C663F)
2011/06/15 10:32:59.163083 GMT *Exc*: Unable to create() file = dfhjvm_volume_check
2011/06/15 10:32:59.163096 GMT *Exc*: Failed to redirect output

Cause

The JVMSERVER has failed to redirect output, for example STDOUT and STDERR.

CICS validates the output file location by attempting to create a temporary file in the WORK_DIR. The start fails and the JVMSERVER is disabled if CICS is unable to create the file.

Resolving The Problem

Ensure that there is sufficient space available in the file system for the output files and that the CICS region has the necessary authority to create the files. Correct the problem and enter CEMT SET JVMSERVER(jvmserver) ENABLED to enable the JVMSERVER.

CICS starts JVMSERVERs concurrently. If a CICS region has more than one JVMSERVER sharing the same WORK_DIR then it is possible for there to be contention on the temporary file between the JVMSERVERs. In this case, the failed JVMSERVER should start if enabled.

Note: The location of the JVMSERVER output files is specified by the WORK_DIR property in the JVMPROFILE.

[{"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Java","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"4.2;5.1;5.2;5.3;5.4","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Loader Domain","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"4.2;5.1;5.2;5.3;5.4","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

CICS/TS CICS TS CICS Transaction Server

Document Information

Modified date:
21 June 2018

UID

swg21503083