Dan
I think I've heard of this problem once before, but I don't think I
ever got to the source of the problem. Couple of questions.
1. Do you see the "Database shutdown complete" message on stdout.
2. What OS are you using?
Pete
----- Original Message -----
From: Dan Mercier <dmercier@mpowertech.com>
Date: Tuesday, February 27, 2001 5:46 pm
Subject: InstantDB: Uninstalling a db or deleting a db.
> For an application i've written I wrote some tests using junit
> that create
> an instantdb.
>
> These tests create a prp file then create the db.
> Everything works fine.
>
> However I would like my tests to clean up after themselves and
> delete the
> db.
> I can drop the tables I create (User table) but I can't drop or
> delete the
> index and key tables
> that are created by instantdb. This is because the files seem to
> be locked.
>
> I get access denied if I try to do a simple file delete.
>
> Any clues as to whats happening?
>
> I can provide code if necessary.
> I have checked and made sure that all connections and statements
> are closed
> before I try to
> do a file delete. Not sure why but until I exit the application
> totally I
> can't delete those files.
>
> I have even tried setting my connections to null and doing a
> system.gc()
> -------------------------------------------------------------------
> ----------
> To unsubscribe from this mailing list, send email to
> majordomo@enhydra.orgwith 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.
>
-----------------------------------------------------------------------------
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.
|