Microsoft KB Archive/919342

= FIX: The Host Integration Server 2004 Transaction Integrator does not correctly close timed out persistent connections after you apply hotfix 918221 =

Article ID: 919342

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2004 Enterprise Edition

-



SYMPTOMS
The Microsoft Host Integration Server 2004 Transaction Integrator (TI) does not correctly close persistent connections that have timed out after you apply the hotfix that is described in Microsoft Knowledge Base article 918221.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

918221 FIX: Error message when a Host Integration Server 2004 Transaction Integrator application initiates a new transaction after a persistent connection times out: &quot;(1240) Transaction Integrator failed when calling RemoveCachedPersistCorrelator&quot;

After you apply hotfix 918221, Transaction Integrator issues a closesocket function call. The closesocket function call causes the underlying TCP/IP connection to be closed immediately when a persistent connection times out.

Before you apply the hotfix, Transaction Integrator correctly closes persistent connections that have timed out. Transaction Integrator does this by issuing a closesocket function call that causes the TCP/IP connection to close correctly.



CAUSE
This problem occurs because of a change that is included in hotfix 918221. After you apply hotfix 918221, persistent connections are closed immediately whenever a persistent connection times out. The underlying TCP/IP socket is immediately closed instead of transitioning through the typical TIME_WAIT state that occurs when a TCP/IP connection closes.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
After you apply this hotfix, you can configure Transaction Integrator to close persistent connections correctly when the connections time out. After you apply this hotfix, follow these steps to enable Transaction Integrator to close timed-out persistent connections correctly:  Click Start, click Run, type regedit, and then click OK. Locate the following subkey in the registry:

 Right-click Defaults, point to New, and then click Key. Type CloseAbandonedGracefully, and then press ENTER. Select the new CloseAbandonedGracefully key. Click (Default).</li> On the Edit menu, click Modify, and then type TRUE in the Value data box.</li> Click OK, and then close Registry Editor.</li></ol>

After you enable the CloseAbandonedGracefully registry key, Transaction Integrator correctly closes the underlying TCP/IP connection by using a three-way handshake. For more information about three-way handshakes, click the following article number to view the article in the Microsoft Knowledge Base:

172983 Explanation of the three-way handshake via TCP/IP

<div class="moreinformation_section">

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: TI pesistent timeout graceful

Keywords: kbhotfixserver kbqfe kbpubtypekc kbfix KB919342

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.