IBM Support

IC65915: WEBSPHERE MQ V7 JAVA CLIENT APPLICATION GETS RC 2121 WHEN USING CMQC.THREAD_AFFINITY_PROPERTY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A WebSphere MQ v7 Java client application is changed
    from using MQC.THREAD_AFFINITY_PROPERTY:
    properties.put(MQC.THREAD_AFFINITY_PROPERTY,new Boolean(true))
    to using CMQC.THREAD_AFFINITY_PROPERTY:
    properties.put(CMQC.THREAD_AFFINITY_PROPERTY,new Boolean(true))
    The change to CMQC was made because MQC has been deprecated.
    After the change, the java application receives an RC 2121
    during MQBEGIN:
    --} MQSESSION.MQBEGIN() rc=0
    --{ XAtoJTA._getRC()()
    [0x3952c4d9] JmqiCodepage.getJmqiCodepage(1208)
    returning beginRC=: 2121
    Addtional Keywords
    2121 MQRC_NO_EXTERNAL_PARTICIPANTS
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users with applications that reference the
    CMQC.THREAD_AFFINITY_PROPERTY constant.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    The constant value for CMQC.THREAD_AFFINITY_PROPERTY was
    incorrect. This means that if an application specifies the
    CMQC.THREAD_AFFINITY_PROPERTY property, it has no effect.
    

Problem conclusion

  • The CMQC.THREAD_AFFINITY_PROPERTY constant was updated to the
    correct value. Note that applications will require recompilation
    after the fix is applied, as the Java compiler copies the
    constant value into compiled Java class files.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.3
    --------           --------------------
    Windows            tbc_p700_0_1_3
    AIX                tbc_p700_0_1_3
    HP-UX (PA-RISC)    tbc_p700_0_1_3
    HP-UX (Itanium)    tbc_p700_0_1_3
    Solaris (SPARC)    tbc_p700_0_1_3
    Solaris (x86-64)   tbc_p700_0_1_3
    iSeries            tbc_p700_0_1_3
    Linux (x86)        tbc_p700_0_1_3
    Linux (x86-64)     tbc_p700_0_1_3
    Linux (zSeries)    tbc_p700_0_1_3
    Linux (Power)      tbc_p700_0_1_3
    
    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

    IC65915

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-28

  • Closed date

    2010-02-23

  • Last modified date

    2010-02-23

  • 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

  • R701 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.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
23 February 2010