The information in this article applies to:
SYMPTOMSWhen using the OLE DB Simple Provider (OSP) from within Java, after a random amount of time the application will return an Application Error similar to: This error is an Access Violation in the Java VM, and the VM will be terminated. CAUSEA bug in the OSP provider (msdaosp.dll) has the DataSourceListener COM object hardwired to return 1 or 0 from the AddRef/Release methods and delete the object. Meanwhile, the Java VM holds a reference to the object, which it attempts to release when garbage collection occurs. By this time, however, the object is no longer in memory, and an Access Violation (AV) occurs. RESOLUTIONA supported fix that corrects this problem is now available from Microsoft, but
it has not been fully regression tested and should be applied only to systems
experiencing this specific problem. If you are not severely affected by this
specific problem, Microsoft recommends that you wait for the next Microsoft Data Access Components 2.1 SP2
that contains this fix. http://www.microsoft.com/support/supportnet/overview/overview.aspThe English version of this fix should have the following file attributes or later:
WorkaroundNone.STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONTo reproduce the error, use code similar to the following in a Java application:
Additional query words: wjview java osp ole db simple provider av crash random garbage collection
Keywords : kbADO210fix kbOLEDB210fix kbOSP kbMDAC210 |
Last Reviewed: August 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |