IBM Support

PH59037: CWWKE0701E ClassCastException after configuring Oracle RAC jdbc driver in CICS Liberty JVM server sever.xml

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After adding Oracle RAC configuration settings to the Liberty
    server.xml file the following is seen at CICS startup :
    
    CWWKE0701E: bundle xxxxxxxx  :
    The activate method has thrown an exception
    java.lang.ClassCastException: java.lang.String
    incompatible with java.lang.Integer
    at com.ibm.cics.wlp.config.CICSConfigurationAdmin.processDataSo
    urce(CICSConfigurationAdmin.java:221)
    at com.ibm.cics.wlp.config.CICSConfigurationAdmin.activate(CICS
    ConfigurationAdmin.java:113)
    .
    In addition, when running a test application, called by a link
    (using @CICSProgram), the following error is seen :
    
    java.lang.ClassNotFoundException:
    COM.ibm.db2os390.sqlj.jdbc.DB2SQLJDriver
    
    If the Oracle configuration settings are removed from the
    server.xml file then all works as expected.
    

Local fix

  • remove Oracle RAC configuration from the server.xml file
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: A ClassCastException occurs when        *
    *                      defining an Oracle datasource in the    *
    *                      JVMSERVER server.xml. Further,          *
    *                      applications called by a link result in *
    *                      a ClassNotFoundException.               *
    ****************************************************************
    After adding an Oracle datasource to the JVMSERVER server.xml,
    the following error caused by a ClassCastException appears in
    messages.log as the JVMSERVER enables:
    
    CWWKE0701E: bundle xxxxxxxx  :
    The activate method has thrown an exception
    java.lang.ClassCastException: java.lang.String
    incompatible with java.lang.Integer
    at com.ibm.cics.wlp.config.CICSConfigurationAdmin.processDataSo
    urce(CICSConfigurationAdmin.java:221)
    at com.ibm.cics.wlp.config.CICSConfigurationAdmin.activate(CICS
    ConfigurationAdmin.java:113)
    
    When you then run an application called by a link (using
    @CICSProgram), the following error can be observed:
    
    SystemErr R java.lang.ClassNotFoundException:
    COM.ibm.db2os390.sqlj.jdbc.DB2SQLJDriver
    

Problem conclusion

  • CICS has been updated to handle the datasource correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH59037

  • 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-01-08

  • Closed date

    2024-03-04

  • Last modified date

    2024-04-01

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

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

    UI95914

Modules/Macros

  • DFJ@H525
    

Fix information

  • Fixed component name

    CICS TS Z/OS V6

  • Fixed component ID

    5655YA100

Applicable component levels

  • R400 PSY UI95914

       UP24/03/09 P F403

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:
04 April 2024