IBM Support

PH61694: JAVA.LANG.UNSATISFIEDLINKERROR: CAN'T LOAD DB2JCCT2ZOS4_64 WHEN USING JAVA 17 (SEMERU)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following exceptions occur when attempting to use the DB2
    Type 2 driver with a Liberty JVMSERVER using Java 17 (Semeru):
    
    com.ibm.db2.jcc.am.SqlException: Failure in loading native
    library db2jcct2zos4_64, java.lang.UnsatisfiedLinkError:
    Can't load db2jcct2zos4_64:  ERRORCODE=-4472, SQLSTATE=null
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: UnsatisfiedLinkError ERRORCODE=-4472,   *
    *                      SQLSTATE=null: Failure in loading       *
    *                      native library db2jcct2zos4_64 when     *
    *                      using Java 17 with CICS Liberty JVM     *
    *                      server.                                 *
    ****************************************************************
    CICS TS JDBC feature (cicsts:jdbc-1.0) can no longer update the
    java.library.path at Liberty startup when using Java 17 - hence
    load of the JDBC native code fails. This is a restriction of the
    Java 17 reference specification.
    

Problem conclusion

  • CICS code is updated to update LIBPATH before starting the JVM
    if com.ibm.cics.jvmserver.wlp.jdbc.driver.location and
    autoconfigure=true is set in the JVM profile.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH61694

  • Reported component name

    CICS TS Z/OS V6

  • Reported component ID

    5655YA100

  • Reported release

    400

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-06-05

  • Closed date

    2024-07-17

  • Last modified date

    2024-08-01

  • APAR is sysrouted FROM one or more of the following:

    PH59008

  • APAR is sysrouted TO one or more of the following:

    UI97674

Modules/Macros

  • DFHSJSC  DFJ@H467 DFJ@H609
    

Fix information

  • Fixed component name

    CICS TS Z/OS V6

  • Fixed component ID

    5655YA100

Applicable component levels

  • R400 PSY UI97674

       UP24/08/01 P F407

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
01 August 2024