Microsoft KB Archive/293480

= FIX: Access Violation When You Use CDO from a Java Application =

Article ID: 293480

Article Last Modified on 11/3/2003

-

APPLIES TO


 * Microsoft Java Virtual Machine
 * Microsoft COM+ 1.0

-



This article was previously published under Q293480



SYMPTOMS
When you run a Java application and use Collaboration Data Objects (CDO) to access a mailbox, you may encounter an access violation.



CAUSE
This problem is caused by a race condition in OLE32.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

This fix is included with the fixes that are described in the following Microsoft Knowledge Base article:

295549 INFO: Post Windows 2000 Service Pack 2 COM+ Rollup Hotfix 11 Is Available



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.



MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

The access violation may contain the following call stack:

KERNEL32!_InterlockedIncrement+0xa ole32!CComApartment__GetRemUnk+0x18 ole32!CObjectContext__InternalContextCallback+0x54 ole32!CObjectContext__ContextCallback+0x1e msjava!RemoteRelease+0xbb msjava!CDeadPunkList__ReleaseAll+0x5e msjava!CJavaThreadBlock__ReleaseAllPunks+0x64 msjava!RMCWndProc+0x18 USER32!UserCallWinProc+0x18 USER32!DispatchMessageWorker+0x2d0 USER32!DispatchMessageA+0xb msjava!ServerApartmentThreadFunction+0xf9 KERNEL32!BaseThreadStart+0x52

Additional query words: kbIISCom AV

Keywords: kbbug kbfix kbwin2000presp3fix kbwin2000sp3fix kbjava KB293480

-

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

© Microsoft Corporation. All rights reserved.