Hi,
I would like to import rows into an InstantDB database through JDBC
using INSERT.
After INSERT-ing a couple of hundreds or thousands (this seems random)
of records the system removes the idb.jrl file and I get
FileNotFoundException.
I tried using the InstantDB driver both directly and through RmiJdbc,
but there is no difference (it seems the exception comes sooner when
RmiJdbc is applied).
Transaction handlings is not applied explicitly.
When I try to debug by recording trace information, the problem
disappeares (but the system slows down).
The same program code works when other database engines (MySQL,
Oracle, MS SQL Server ....) are used.
This is the exception:
java.sql.SQLException: Problem opening/creating journal file: idb.jrl
java.io.FileNotFoundException: C:\htdocs\jchem\idb\system\idb.jrl
(Access is denied)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:354)
at
RmiJdbc.RJPreparedStatementServer_Stub.executeUpdate(RJPreparedStatementServer_Stub.java:272)
.........
Regards,
Ferenc
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|