IBM Support

IT40838: MQ client unable to connect to an IBM MQ version 8.0 or later queue manager when using SSPI security exit

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • MQ Client  is unable to connect to an IBM MQ
    version 8.0 or later queue manager which uses
    64-bit amqrspin.dll that comes with IBM MQ.
    
    FDCs with probe ID "XC130031 xehExceptionHandler" is cut.
    
    An Unhandled Exception detected in process 4300, on thread
    0x15F0.
    Type: EXCEPTION_ACCESS_VIOLATION (C0000005).
    Address: 0033:00007FFA7D9327E8.
    The thread could not read from memory address
    0xFFFFFFFFFFFFFFFF.
    
    MQM Function Stack
    MQCONNX
    MQCONNX
    trmzstMQCONNX
    reqDoConnect
    reqConnectChl
    reqFreeConnSess
    reqFreeSess
    rriFreeSess
    rriTermExits
    rriTermExit
    rriCALL_EXIT
    xcsFFST
    
    Stack Backtrace:
    Module!Function+Offset
    amqrspin!terminateSecurityExit+0xf8
    amqrspin!SSPI+0x409
    amqrspin!SCY_KERBEROS+0x13d [c:\cygwin64\b
    mqe!rriTermExit+0x9c5
    mqe!rriTermExits+0xbe0
    mqe!rriFreeSess+0xee8
    mqe!reqFreeSess+0x3db
    mqe!reqFreeConnSess+0x499
    mqe!reqConnectChl+0x18cd
    mqe!reqDoConnect+0x1644
    mqe!rreqMQCONNX+0x282
    mqe!tmzstMQCONNX+0x8f4
    mqe!reqMQCONNX+0x7d
    mqe!MQCONNX_Client_Call+0x153
    mqe!zswMQCONNX_Client_Call+0x33a
    mqic!MQCONNX+0x4c
    amqsputc!main+0x124c
    amqsputc!__tmainCRTStartup+0x19d
    amqsputc!mainCRTStartup+0xe
    KERNEL32!BaseThreadInitThunk+0x14<NLN:487>
    ntdll!RtlUserThreadStart+0x21<NLN:487>
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users using SSPI security exit
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    From MQ server version 8.0 or later Windows queue manager runs
    64-bit processes. Queue manager exits on Windows 64-bit must be
    compiled as 64-bit. When using 64-bit amqrspin.dll with the
    queue manager/client, a structure used in exit causes a null
    pointer in initSecContext or terminateSecurityExit method.
    

Problem conclusion

  • The amqrspin sample code has been changed so that the structure
    used in the 64 bit amqrspin.dll is consistent with the one
    expected by MQ Client/Server code.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.2 LTS   9.2.0.7
    v9.3 LTS   9.3.0.2
    v9.x CD    9.3.2
    
    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

    IT40838

  • Reported component name

    MQ BASE V9.2

  • Reported component ID

    5724H7281

  • Reported release

    920

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-05-05

  • Closed date

    2022-11-11

  • Last modified date

    2022-11-18

  • 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

    MQ BASE V9.2

  • Fixed component ID

    5724H7281

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"920","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
18 November 2022