[Problem] About : Dbc Retrieve Data in MultiThread
528426Aug 16 2006 — edited Aug 16 2006Hello,
Our BDB version is 4.0.14 and 4.2.52.
We create our JNI by using BDB C++ API. Under multi-processor,
multithread environment, we do the following operations in the
same Java process:
Db->open()
Dbc->get()
Dbc->put()
Db->close()
After running for 2 hours, when we try to retrieve the data
by using Dbc->get(), it returns error code [DB_NOTFOUND].
In the meantime, another process calls Db->open() and Dbc->get()
and works correctly, without returning any error code.
Would you please tell us how to solve this problem.
Thank you very much.