IBM Support

IC88165: WEBSPHERE MQ REPORTS MQRC_CONNECTION_BROKEN ERROR DURING CLIENT DISCONNECT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WebSphere MQ managed .NET application reports
    MQRC_CONNECTION_BROKEN error during disconnect. The following
    error is reported in the event viewer:
    
    MQRC_CONNECTION_BROKEN
    EventWatcher\Match Message In
    at IBM.WMQ.MQQueueManager.Disconnect()
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    WebSphere MQ managed .NET applications.
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM SUMMARY:
    WebSphere MQ managed .NET application intermittently reports
    MQRC_CONNECTION_BROKEN error during disconnect with the
    following exception.
    
    System.Net.Sockets.SocketException
    Message: An invalid argument was supplied
    StackTrace:
    at System.Net.Sockets.Socket.Shutdown(SocketShutdown how)
    at IBM.WMQ.MQTCPConnection.CloseSocket()
    at IBM.WMQ.MQFAPConnection.Close(MQTSH tshc)
    at IBM.WMQ.MQFAPConnection.Disconnect()
    at IBM.WMQ.MQFAP.Disconnect(Int32 hConn, Int32& compCode,
    Int32& reason)
    at IBM.WMQ.Nmqi.ManagedNmqiMQ.MQDISC(Phconn phconn, Int32&
    pCompCode, Int32& pReason)
    
    This was because the System.Net.Sockets.Socket.Shutdown invoked
    while closing the socket was intermittently reporting
    SocketException.
    

Problem conclusion

  • System.Net.Sockets.Socket.Shutdown invoked while closing the
    socket intermittently reports SocketException. The WebSphere MQ
    .NET code is modified to ignore this exception and proceed
    towards closing the socket.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.11
    --------           --------------------
    Windows            7.0.1.11
    
                       v7.1
    Platform           Fix Pack 7.1.0.3
    --------           --------------------
    Windows            7.1.0.3
    
    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

    IC88165

  • 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

    2013-01-31

  • Last modified date

    2013-01-31

  • 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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDEZSF","label":"IBM WebSphere MQ Managed File Transfer for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
31 March 2023