IBM Support

IC58897: JMSBYTESMESSAGE.GETBODYLENGTH() DOES NOT RETURN THE CORRECT VALUE FOR WEBSPHERE MQ JMS MESSAGES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The JMS Specification states that the
    JMSBytesMessage.getBodyLength() method should return the
    number of bytes in the message body.
    
    When the method is called on a WebSphere MQ JMSBytesMessage, an
    incorrect value is returned. Instead of returning the number of
    bytes in the message body, the method actually returns the
    number of bytes in the body plus the number of bytes in the
    message's RFH2 header.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the WebSphere MQ classes for JMS.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    The JMSBytesMessage.getBodyLength() method incorrectly included
    the length of the RFH2 header when calculating the number of
    bytes in the message body.
    

Problem conclusion

  • JMSBytesMessage.getBodyLength() has been updated so that it
    only returns the number of bytes contained within the message
    body.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v6.0
    Platform           Fix Pack 6.0.2.6
    --------           --------------------
    Windows            tbc
    AIX                tbc
    HP-UX (PA-RISC)    tbc
    HP-UX (Itanium)    tbc
    Solaris (SPARC)    tbc
    Solaris (x86-64)   tbc
    iSeries            tbc
    Linux (x86)        tbc
    Linux (x86-64)     tbc
    Linux (zSeries)    tbc
    Linux (Power)      tbc
    Linux (s390x)      tbc
    
                       v7.0
    Platform           Fix Pack 7.0.0.2
    --------           --------------------
    Windows            U200302
    AIX                U822354
    HP-UX (PA-RISC)    U822349
    HP-UX (Itanium)    U822351
    Solaris (SPARC)    U822353
    Solaris (x86-64)   U822394
    iSeries            tbc
    Linux (x86)        U822348
    Linux (x86-64)     U822393
    Linux (zSeries)    U822352
    Linux (Power)      U822350
    
    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

    IC58897

  • 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

    2008-11-12

  • Closed date

    2008-11-27

  • Last modified date

    2008-11-27

  • 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:
27 November 2008