MSMDEPLY RC 1024
search cancel

MSMDEPLY RC 1024

book

Article ID: 135219

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS COMMON PRODUCT SERVICES COMPONENT Common Services Datacom/AD Easytrieve Report Generator for Common Services INFOCAI MAINTENANCE UNICENTER JCLCHECK COMMON COMPONENT LDAP SERVER FOR Z/OS CHORUS SOFTWARE MANAGER CA ON DEMAND PORTAL CA Service Desk Manager - Unified Self Service PAM CLIENT FOR LINUX ON MAINFRAME MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME GRAPHICAL MANAGEMENT INTERFACE WEB ADMINISTRATOR FOR TOP SECRET MF - MISC OLD CODES Output Management Web Viewer

Issue/Introduction

CA Mainframe Software Manager (MSM) - How do you reassign the JAVAPATH ?

Environment

Release: 6.0
Component: MSMUI

Resolution

Reassign the Java Home Directory

You may want to reassign the Java home directory, for example, when you install a new minor version of Java into a different directory to preserve the old version. When you change the Java directory, correct the Java path in the following places:

  • Change the value of the JAVA_HOME variable in the SAMPLIB(MSMLIB) member.

    Example: In the following sample SAMPLIB(MSMLIB) member, replace original_path with the new path.

        export JAVA_HOME=original_path
    
  • Change the SMPJHOME DDDEF value in the CA CSM CSI that points to the Java home directory. The CA CSM CSI is located in CSIHLQ.SMPCSI.CSI. Change the SMPJHOME DDDEF value in the global (GLOBAL), target (CAIT0) and distribution (CAID0) zones. Use the UCLIN statement to change the SMPJHOME DDDEF value.

    Example: Use this UCLIN statement to change the SMPJHOME DDDEF value for all CA CSM CSI zones by replacing the zone variable with each zone name: CAID0, CAIT0, and GLOBAL.

        SET
        BOUNDARY(zone).
        UCLIN.
        REP  DDDEF(SMPJHOME)
             PATH('new_path').
        ENDUC.
    

Note: Once you start the MSMTC job, the JAVA_HOME path in the job log message has to match the path in the SMPJHOME DDDEF in the CA CSM CSI:

JVMJZBL1006I JAVA_HOME = new_path
  • Change the JAVAPATH option in the MSMSetupOptionsFile.properties option file that is located in the MSMPATH/CEGPHFS directory.

    Example: In the following MSMSetupOptionsFile.properties option file sample, replace original_path with the new path.

        JAVAPATH=original_path

Additional Information

Reassign the Java Home Directory