IBM Support

IC89514: WEBSPHERE MQ XMS .NET APPLICATION FAILS WITH SYSTEM.REFLECTION.TARGETINVOCATIONEXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer experienced
    System.Reflection.TargetInvocationException exception while
    running the WebSphere MQ XMS .NET sample application when the
    Windows Client was not installed.
    
    Exception caught:
    System.Reflection.TargetInvocationException:Exception has been
    thrown by the target of an invocation.
    System.Reflection.TargetInvocation
    Exception: Exception has been thrown by the target of an
    invocation. System.TypeLoadException: Could not load type
    'IBM.WMQ.ManagedCommonServices' from assembly
    'IBM.XMS.Client.WMQ, Version=2.1.0.0,
    Culture=neutral,PublicKeyToken=d2666ab12fca862b'.
    at System.Reflection.Assembly._GetType(String name, Boolean
    throwOnError, Boolean ignoreCase)
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    User using XMS application in managed connection mode having
    installed only Java and Dot NET messaging and web services and
    without windows client
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM SUMMARY:
    MQ incorrectly loads the managed common services even if Windows
    client is not installed. Hence the customer experienced
    targetinvocationexception while running the XMS sample
    application without windows client.
    

Problem conclusion

  • The code is modified such that XMS common services are loaded
    if XMS is in use instead of MQ Managed common services.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.1
    Platform           Fix Pack 7.1.0.4
    --------           --------------------
    Windows            7.1.0.4
    
    Platform           v7.5
    --------           --------------------
    Multiplatforms     7.5.0.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

    IC89514

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-14

  • Closed date

    2013-03-14

  • Last modified date

    2013-03-14

  • 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

  • R710 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1"}]

Document Information

Modified date:
09 March 2021