IBM Support

PI69323: JARLOADER UNDER 64-BIT ENVIRONMENT WILL THROW JAVA.LANG.NOCLASSDEFFOUNDERROR WHEN LOADING A CLASS FOR THE JVM

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • JarLoader under 64-bit environment will throw
    java.lang.NoClassDefFoundError when loading a class for the JVM
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: DB2 11 for Z/OS users of Java stored         *
    *                 procedures and User Defined Functions        *
    *                 with 64-bit multi-threaded Java              *
    *                 stored procedure environment.                *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: JARLoader under 64-bit Multi-threaded   *
    *                      java stored procedure environment       *
    *                      throws java.lang.NoClassDefFoundError   *
    *                      exception when loading the class from   *
    *                      the JAR file.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the JARLoader processes the JAR file, it will query the
    SYSJAVAPATHS catalog table to get this JAR's JAR PATH and
    saves the JAR PATH into a string array. However, there is a
    code bug in the JARLoader when storing the JAR PATH in the
    string array. Due to the code bug, the JARLoader throws the
    java.lang.NoClassDefFoundError exception.
    

Problem conclusion

  • The code bug has been fixed so that the JAR PATH in the JAR
    file can be correctly stored in the String array and the
    JARLoader can continue processing the JAR PATH from the
    String array.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI69323

  • Reported component name

    DB2 ODBC/JDBC/S

  • Reported component ID

    5740XYR02

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-09-16

  • Closed date

    2016-12-08

  • Last modified date

    2017-01-03

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

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

    UI43225

Modules/Macros

  •    DSNX9SPJ
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RB10 PSY UI43225

       UP16/12/24 P F612

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0"}]

Document Information

Modified date:
04 March 2021