IBM Support

IZ69166: XMS .NET CLIENT V2.0 CONNECTING TO WEBSPHERE MQ V6 SERVER AND USING EXCEPTION HANDLER FAILS WITH INVALIDCAST EXCEPTION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using a registered exception listener for an XMS .NET
    client application, the Exception Handler throws an
    InvalidCastException. The following is an example of
    such an exception:
    
    14:56:37.292812  1712.0004  IBM.XMS.WMQ.WmqConnection
    -  d  DeliverException(): Exception Handler threw exception :
    System.
    InvalidCastException: Unable to cast object of type 'IBM.XMS.
    IllegalStateException' to type 'IBM.XMS.Provider.
    ProviderExceptionListener'.
    at IBM.XMS.WMQ.WmqConnection.DeliverException(Exception e)
    
    This occurs when the registered exception listener encounters
    an exception thrown by a call in the XMS .NET application.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of XMS .NET applications that use an Exception Listener
    when connecting to a WebSphere MQ v6 queue manager.
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM SUMMARY:
    There was an error in the way XMS .NET client invoked the
    Exception Listener when connected to a WebSphere MQ v6 queue
    manager. Instead of invoking the registered exception handler
    with the exception object, XMS .NET incorrectly assigned the
    exception object to the Exception Listener variable causing an
    InvalidCastException to be thrown.
    

Problem conclusion

  • XMS .NET client has now been changed such that the registered
    Exception Listener is invoked with the exception object when
    connected to both WebSphere MQ v6 and v7 queue managers.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ69166

  • Reported component name

    MSG SRVCS CL .N

  • Reported component ID

    5724M2100

  • Reported release

    200

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-02

  • Closed date

    2010-03-02

  • Last modified date

    2010-03-05

  • 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

    MSG SRVCS CL .N

  • Fixed component ID

    5724M2100

Applicable component levels

  • R200 PSY

       UP

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

Document Information

Modified date:
05 March 2010