IBM Support

IZ67672: WEBSPHERE MQ OSGI BUNDLING CAN LEAD TO CLASSCASTEXCEPTIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • OSGi bundles include a manifest file which includes the bundle
    version, the list of packages the bundle makes available, the
    list of package the bundle needs, and other information.  The
    manifest is particularly important since multiple versions of
    OSGi bundles may be loaded at a single time.  However, the
    WebSphere MQ OSGi bundle manifest is missing some "uses"
    constraints which may allow ClassCastExceptions to occur in some
    environments.
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the WebSphere MQ V6 and V7 OSGi
    bundles.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    The OSGi bundles provided with WebSphere MQ V6 and V7 were
    missing the "uses:=" constraint for the javax.jms package.
    
    This meant that if an application used a class that could be
    found in two or more bundles that were loaded in the OSGi
    environment (such as Connection), there was no way of knowing
    the exact type of object would be returned to the application.
    Applications using the WebSphere MQ OSGi bundles would assume
    they would always get a javax.jms.Connection, but if another
    object of type Connection from a different package was loaded,
    it was possible that this might be returned to the application
    instead.
    

Problem conclusion

  • The OSGi bundles have been updated to include the option:
    
    uses:="javax.jms"
    
    in the Export-Package section of their manifest files.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v6.0
    Platform           Fix Pack 6.0.2.10
    --------           --------------------
    Windows            U200318
    AIX                U832558
    HP-UX (PA-RISC)    U833084
    HP-UX (Itanium)    U833088
    Solaris (SPARC)    U833085
    Solaris (x86-64)   U832557
    iSeries            tbc_p600_0_2_10
    Linux (x86)        U832545
    Linux (x86-64)     U833083
    Linux (zSeries)    U833089
    Linux (Power)      U833087
    Linux (s390x)      U833086
    
                       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

    IZ67672

  • Reported component name

    WMQ LIN X86 V6

  • Reported component ID

    5724H7204

  • Reported release

    601

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-07

  • Closed date

    2010-02-16

  • Last modified date

    2010-02-16

  • 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 LIN X86 V6

  • Fixed component ID

    5724H7204

Applicable component levels

  • R601 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCPQ5M","label":"APAR"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 February 2010