IBM Support

IC92326: MQ V7.0.1: SYSTEM.NET.SOCKETS.SOCKETEXCEPTION WHEN .NET APPLICATION DISCONNECTS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During a disconnect by a .NET application, a
    System.Net.Sockets.SocketException is reported.  Trace shows:
    Socket locked for receive
    System.Net.Sockets.SocketException (0x80004005): An established
    connection was aborted by the software in your host machine
    at System.Net.Sockets.Socket.BeginReceive(Byte?? buffer,
    Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback
    callback, Object state)
    at IBM.WMQ.MQTCPConnection.ReceiveData(Byte??& cBuffer,
    Int32& offset, Int32& length)
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    WebSphere MQ v701 .NET applications running in managed mode.
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM SUMMARY:
    The MQ .NET application reports
    System.Net.Sockets.SocketException with the error message,
    "An established connection was aborted by the software in your
    host machine."
    
    This error occurs after the application thread sends a
    connection close request to the server following which the
    server closes the conversation. Meanwhile the MQ receiver
    thread created to service the application thread tries to send
    a heartbeat packet to the server following a failed receive.
    The socketexception is reported when the heartbeat is sent on
    a socket that is already closed by the server.
    

Problem conclusion

  • The MQ .NET code is modified so that the heartbeat is only sent
    when the receiver times out after waiting to receive data from
    the server.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following:
    
                       v7.0
    Platform           Fix Pack 7.0.1.11
    --------           --------------------
    Windows            7.0.1.11
    
    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

    IC92326

  • 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

    2013-05-15

  • Closed date

    2013-06-26

  • Last modified date

    2013-08-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

  • 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