Precautionary checks
If you experience errors while using the cics-deploy plug-in, check the following potential causes before investigating further:
- CICS® must be authorized to read the bundle directory
META-INF
. - The port specified by the
--port
argument of thecics-deploy generate bundle
command must be free on z/OS® before you attempt to deploy an application. - If you set a
WORK_DIR
in the CICS Node.js application profile, such asnodejsapps/<your application name>.profile
, it must be writeable by CICS.
Deployment errors
Application incorrectly deploys in a DISABLED state
Possible cause: The port requested by the application is already in use.
Suggested action: Choose a new port number after double-checking that it is not in use. Redeploy the application using the new value for the port.
DISABLED
state does not necessarily indicate an error condition. The cics-deploy deploy
, cics-deploy push
and cics-deploy undeploy
commands allow you to specify a --target-state
option which you may deliberately choose to set to DISABLED
.When deploying to multiple regions, the application fails to enable in the second and subsequent regions
Possible cause: The application has deployed successfully in the first region, but subsequent regions see the requested port as in use, and cannot enable the application.
Suggested action: Confirm the error by searching for Error: listen EADDRINUSE :::30701
in STDERR. Contact a CICS systems administrator to set up port sharing for the affected port.
Command error: DFHDPLOY stopped processing due to an error
Possible causes:
- The
--scope
and/or--cicsplex
settings for the current deploy profile are wrong, and don’t correctly identify a current CICS system, CICS System Group and/or a correct CICSPlex® respectively. - The CMAS for the cicsplex is inactive.
- CPSM is not functioning correctly.
Representative output:
Suggested actions:
- Confirm that the
--scope
and--cicsplex
settings are correct. - Ask your CICS Systems Programmer to check that the CMAS for the current CICSPlex is alive and that CPSM is working properly.
Command error: … validation of - -cicshlq dataset failed: z/OSMF REST API Error
Possible cause: The profile setting for --cicshlq
is incorrect.
Representative output:
Suggested action:
Check that your --cicshlq
profile setting matches the value configured for CICS high-level qualifiers in your CICS region.
BUNDLE … cannot be deployed (1)
Possible cause: CICS does not have permission to read the bundle directory.
Representative output:
Suggested action: Check the MSGUSR file for more specific diagnostics and if relevant, change the permissions on the offending directory.
BUNDLE … cannot be deployed (2)
Possible cause: The cics.xml
file is malformed.
Representative output:
Suggested action:
Check that your cics.xml
file is well-formed.
General errors
Syntax error: Invalid value length for option
Possible cause: The length of the option you provided in a command was either too long or two short.
Representative output:
Suggested action: Review the error output text and reissue the original command having corrected the name of the option so that its length falls within acceptable limits.