IBM Support

PI85872: CLASSLOADER EXCEPTION WHEN RUNNING CICS WITH JAVA 8

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following classloader problem appears when running CICS TS
    5.2 with Java 8 and after activating new DB2 maintenance (JDBC
    driver)
    
    DFHSJ0904
    <OOO TTTT PPPPPPPP EXCEPTION 'JAVA.LANG.NOCLASSDEFFOUNDERROR:
    COM.IBM.DATAACCESS.BYTEARRAYUNMARSHALLER' OCCURRED CREATING
    OBJECT REFERENCE FOR CLASS XXXXXX.YYYY.DST.CICS.CICSENTRY.
    
    DFHSJ1004
    AN EXCEPTION HAS BEEN THROWN BY THE ROUTE METHOD OF CLASS
    COM/IBM/CICS/ROUTER/ROUTER RUNNING IN JVMSERVER JJJJJJJJ.
    EXCEPTION 'AJ05'.
    
    DFHAC2236
    TRANSACTION TTTT ABEND AJ05 IN PROGRAM PPPPPPPP TERM <OOO.
    UPDATES TO LOCAL RECOVERABLE RESOURCES WILL BE BACKED OUT.
    .
    DFHSJ0917 JVMSERVER JJJJJJJJ IS DISABLED.
    

Local fix

  • 1) Add the following option in the JVMProfile:
      -Dorg.osgi.framework.system.packages.extra=com.ibm.dataaccess
    
    or
    
    2) Use Java 7
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: NoClassDefFoundError for                *
    *                      com.ibm.dataaccess when running CICS    *
    *                      Java Db2 application after Db2          *
    *                      maintenance (UI47391)                   *
    ****************************************************************
    A CICS Java application that uses a Type 2 Db2 connection
    accesses data from the Db2 database.  The CICS region is
    configured to use Java 7.1 or above. Conversions occur to
    transform these into Java objects, this causes a
    NoClassDefFoundError for a class within the package
    com.ibm.dataaccess causing the application to end abnormally.
    

Problem conclusion

  • Router.java has been updated to expose the com.ibm.dataacess
    package in OSGi and Liberty JVM servers.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI85872

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-16

  • Closed date

    2017-11-17

  • Last modified date

    2017-12-02

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

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

    UI51978 UI51979 UI51980 UI51981

Modules/Macros

  • DFJ@H350
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R00D PSY UI51980

       UP17/11/29 P F711 ¢

  • R10D PSY UI51981

       UP17/11/22 P F711 ¢

  • R80D PSY UI51978

       UP17/11/22 P F711 ¢

  • R90D PSY UI51979

       UP17/11/22 P F711 ¢

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 December 2017