IBM Support

IC88125: WHEN CALLING A NATIVE WEBSPHERE MQ SECURITY EXIT FROM A JAVA APPLICATION THE MQCD SECURITYUSERDATA FIELD IS OVERWRITTEN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A customer self-written security exit terminates due to an
    invalid pointer pMQCD, if using WebSphere MQ Version 7 Java
    libraries.
    
    There is a change of behavior between the V6 and V7 libraries.
    Each time the security exit is invoked, depending on the
    ExitReason, the SecurityUserData field within the MQCD structure
    is overwritten with the original value specified in the Java
    application's MQExternalSecurityExit UserData field.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of:
    
    - The WebSphere MQ V7 classes for JMS
    - The WebSphere MQ V7 classes for Java
    - The WebSphere MQ V7 Resource Adapter
    - The WebSphere Application Server V7 WebSphere MQ messaging
    provider
    - The WebSphere Application Server V6 WebSphere MQ messaging
    provider who have reconfigured the application server to use the
    WebSphere MQ V7 classes for JMS (by modifying the WebSphere
    Variable MQ_INSTALL_ROOT).
    
    Where the application is invoking a native security exit which
    requires the data to be persisted in the SecurityUserData field
    of
    the MQCD structure between invocations.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows)
    ****************************************************************
    PROBLEM SUMMARY:
    The SecurityUserData contains the data set by the user in the
    channel definition. Any changes made to the contents of this
    field by an exit are preserved during the lifetime of the
    Message Channel Agent (MCA).
    
    When using the WebSphere MQ Version 7 Java libraries, the
    SecurityUserData was overwritten with the original value each
    time the security exit was invoked with MQXR_SEC_PARMS and
    MQXR_TERM ExitReason codes.
    

Problem conclusion

  • The WebSphere MQ classes for Java and WebSphere MQ classes for
    JMS have been modified to ensure that the SecurityUserData is
    preserved for the lifetime of the channel instance and not
    overwritten by the original value specified.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.10
    --------           --------------------
    Windows            U200352
    AIX                U853055
    HP-UX (PA-RISC)    U853082
    HP-UX (Itanium)    U853087
    Solaris (SPARC)    U853083
    Solaris (x86-64)   U853089
    iSeries            7.0.1.10
    Linux (x86)        U853084
    Linux (x86-64)     U853088
    Linux (zSeries)    U853085
    Linux (Power)      U853086
    
                       v7.1
    Platform           Fix Pack 7.1.0.3
    --------           --------------------
    Windows            7.1.0.3
    AIX                7.1.0.3
    HP-UX (Itanium)    7.1.0.3
    Solaris (SPARC)    7.1.0.3
    Solaris (x86-64)   7.1.0.3
    iSeries            7.1.0.3
    Linux (x86)        7.1.0.3
    Linux (x86-64)     7.1.0.3
    Linux (zSeries)    7.1.0.3
    Linux (Power)      7.1.0.3
    
    Platform           v7.5
    --------           --------------------
    Multiplatforms     7.5.0.1
    
    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

    IC88125

  • 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

    2012-11-12

  • Closed date

    2012-11-29

  • Last modified date

    2012-11-29

  • 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:
29 November 2012