IBM Support

IC60189: "COM.IBM.MQ.MQC: FIELD MQCI_NEW_SESSION NOT FOUND" ERROR OCCURS AFTER MIGRATING TO WEBSPHERE MQ V7

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After migrating from WebSphere MQ Version 6 to Version 7,
    applications using the WebSphere MQ classes for Java start
    failing with the following exception:
    
    Exception thrown : java.lang.NoSuchFieldError:
    com.ibm.mq.MQC: field MQCI_NEW_SESSION not found
    

Local fix

  • In V7, the com.ibm.mq.MQC class is deprecated, and the classes
    in com.ibm.mq.constants are the recommended place to reference
    MQ constant values.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects WebSphere MQ Version 7 applications using
    the WebSphere MQ classes for Java that use the constant
    MQCI_NEW_SESSION.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows)
    ****************************************************************
    PROBLEM SUMMARY:
    The field MQCI_NEW_SESSION, defined in the class MQC, was
    changed from being a byte[] in WebSphere MQ Version 6 to a
    String in Version 7. This meant that applications which were
    migrated from Version 6 to Version 7 received the
    NoSuchFieldError mentioned in this APAR.
    

Problem conclusion

  • The MQCI_NEW_SESSION field has been changed back to a byte[].
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.0
    --------           --------------------
    Windows            U200306
    AIX                U823774
    HP-UX (PA-RISC)    U823665
    HP-UX (Itanium)    U823667
    Solaris (SPARC)    U823772
    Solaris (x86-64)   U824344
    iSeries            tbc_p700_0_1_0
    Linux (x86)        U823664
    Linux (x86-64)     U823773
    Linux (zSeries)    U823668
    Linux (Power)      U823666
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available, information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC60189

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-02-26

  • Closed date

    2009-03-19

  • Last modified date

    2009-03-19

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

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

Fix information

  • Fixed component name

    WMQ WINDOWS V7

  • Fixed component ID

    5724H7220

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCPQ63","label":"APAR \/ Maintenance"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 March 2009