IBM Support

IC62336: STREAMCORRUPTEDEXCEPTION OCCURS WHEN A WMQ V7 JMS APPLICATION RECEIVES OBJECTMESSAGES SENT BY A V6 JMS APPLICATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When an application using the WebSphere MQ V7 classes for Java
    Message Service (JMS) receives an ObjectMessage that was sent
    by an application using the WebSphere MQ V6 classes for JMS, a
    StreamCorruptedException occurs.
    
    The stack trace associated with the exception is shown below:
    
    IO Exceptionjava.io.StreamCorruptedException: invalid stream
    header:7372002B
    at java.io.ObjectInputStream.readStreamHeader
    (ObjectInputStream.java:794)
    at java.io.ObjectInputStream.<init>(ObjectInputStream.java:291)
    at com.ibm.mq.MQObjectInputStream.<init>
    (MQObjectInputStream.java:98)
    at com.ibm.mq.MQMessage.readObject(MQMessage.java:1536)
    ...
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of WebSphere MQ V7 classes for Java
    Message Service (JMS) applications that receive ObjectMessages.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    ObjectOutputStream and ObjectInputStream objects in the
    WebSphere MQ V7 classes for JMS were being cached over multiple
    readObject() and writeObject() calls. As the stream header
    information for messages sent by applications using the V6
    classes for JMS was different to the header information used by
    the V7 classes for JMS, once the V7 classes for JMS had
    received a message sent by a V7 application, they could not
    process any ObjectMessages sent by a V6 application.
    

Problem conclusion

  • The WebSphere MQ V7 classes for JMS have been updated to create
    a new ObjectOutputStream and ObjectInputStream every time the
    readObject() or writeObject() methods are called.
    
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.5
    --------           --------------------
    Windows            U200324
    AIX                U839183
    HP-UX (PA-RISC)    U839621
    HP-UX (Itanium)    U839626
    Solaris (SPARC)    U839622
    Solaris (x86-64)   U839628
    iSeries            tbc_p700_0_1_5
    Linux (x86)        U839623
    Linux (x86-64)     U839627
    Linux (zSeries)    U839624
    Linux (Power)      U839625
    
                       v7.0
    Currently any fixes planned for v7.0 will be fixed in 7.0.1.*
    and not in 7.0.0.*
    
    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

    IC62336

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

  • Closed date

    2009-08-26

  • Last modified date

    2010-10-12

  • 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:
12 October 2010