Microsoft KB Archive/928616

= FIX: You may receive an exception when you run a multithreaded Java application that uses version 1.1 of the JDBC driver to connect to a SQL Server 2000 SP4 database =

Article ID: 928616

Article Last Modified on 5/11/2007

-

APPLIES TO


 * Microsoft SQL Server 2000 Driver for JDBC

-



Bug #: 50000529 (SQL Hotfix)



SYMPTOMS
When you run a multithreaded Java application that uses version 1.1 of the JDBC driver to connect to a Microsoft SQL Server 2000 Service Pack 4 (SP4) database, you may receive the following exception:

java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XA_OK start failed on resource 'DaphneStoreXADS': XA_OK javax.transaction.xa.XAException: java.sql.SQLException: Failed to enlist:The DBComms.receive operation resulted in an invalid packet header type:0. PktNum:0. nReceived:8. at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(Ljavax.transaction.xa.Xid;I)V(Unknown Source) at weblogic.jdbc.jta.DataSource.start(DataSource.java:698) at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1182) at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1115) at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:274) at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:497) at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:429) at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1408) Operating System:Windows 2000



This problem may occur when the database experiences high stress.



Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

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

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
No prerequisites are required.

Restart information
You do not have to restart the computer after you apply this hotfix.

Registry information
You do not have to change the registry.

Hotfix file information
This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.

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.

64-bit version
Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.



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
For more information about the terminology that Microsoft uses when correcting software after it is released, 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: JDBC 1.1

Keywords: kbbug kbfix kbhotfixserver kbqfe KB928616

-

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

© Microsoft Corporation. All rights reserved.