IBM Support

IT37204: XMS .NET applications fail to load common services if the application name contains amqmxmsstd

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

  • If the application name contains XMS .NET Standard library name
    i.e "amqmxmsstd" then XMS .NET applications throw the following
    error:
    Exception caught: System.TypeLoadException: Could not load type
    'IBM.XMS.Client.WMQ.XmsManagedCommonServices' from assembly
    'amqmxmsstdapp, Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=null'.
       at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly
    assembly, String name, Boolean throwOnError, Boolean
    ignoreCase, ObjectHandleOnStack type)
       at System.Reflection.RuntimeAssembly.GetType(String name,
    Boolean throwOnError, Boolean ignoreCase)
       at System.Reflection.Assembly.GetType(String name, Boolean
    throwOnError)
    

Local fix

  • Don't use XMS library name amqmxmsstd when creating the
    applications
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All XMS .NET applications which have the word "amqmxmsstd" as
    part of the application name
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    The logic used to load the "amqmxmsstd" library incorrectly
    evaluated the library name, meaning that the current application
    was considered a match if it contained this string.
    

Problem conclusion

  • The MQ XMS client has been corrected to validate the assembly
    name of the resolved library when attempting to load the
    amqmxmsstd library.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.2 LTS   9.2.0.5
    v9.x CD    9.2.5
    
    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

    IT37204

  • 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

    2021-06-10

  • Closed date

    2021-11-30

  • Last modified date

    2021-11-30

  • 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

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

Document Information

Modified date:
02 December 2021